Skip to content

Commit c008005

Browse files
committed
test: add bundled to be ignored in pytest discovery
1 parent 4c6e9ac commit c008005

File tree

2 files changed

+1
-29
lines changed

2 files changed

+1
-29
lines changed

.vscode/launch.json

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -134,34 +134,6 @@
134134
"justMyCode": false,
135135
"cwd": "${workspaceFolder}",
136136
},
137-
{
138-
"name": "Python: Pytest All Test Parallel",
139-
"type": "python",
140-
"request": "launch",
141-
"module": "pytest",
142-
"args": [
143-
"-n",
144-
"8",
145-
"."
146-
],
147-
"console": "integratedTerminal",
148-
"justMyCode": false,
149-
"cwd": "${workspaceFolder}",
150-
},
151-
{
152-
"name": "Python: Pytest All Test Coverage",
153-
"type": "python",
154-
"request": "launch",
155-
"module": "pytest",
156-
"args": [
157-
"--cov-report=xml",
158-
"--cov=robotcode",
159-
"."
160-
],
161-
"console": "integratedTerminal",
162-
"justMyCode": false,
163-
"cwd": "${workspaceFolder}",
164-
},
165137
{
166138
"name": "Python: Pytest Current File",
167139
"type": "python",

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ extend-exclude = '''
122122

123123
[tool.pytest.ini_options]
124124
minversion = "6.0"
125-
addopts = "-ra -vv -rf"
125+
addopts = "-ra -vv -rf --ignore=bundled --ignore=.hatch"
126126
filterwarnings = "ignore:.*Using or importing the ABCs from 'collections' instead of from 'collections.abc'.*:DeprecationWarning"
127127
testpaths = ["tests"]
128128
junit_suite_name = "robotcode"

0 commit comments

Comments
 (0)