Commit e0b3c50 1 parent a20b182 commit e0b3c50 Copy full SHA for e0b3c50
File tree 4 files changed +7
-3
lines changed
4 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 8
8
"prepend_path" : " .venv/bin" ,
9
9
"acceptance_path" : " tests/" ,
10
10
"test" : [
11
- " pytest tests/ --ignore=test_data - n 10 --cov --cov-report=xml --timeout 480 --durations 20"
11
+ " pytest tests/ -n 10 --cov --cov-report=xml --timeout 480 --durations 20"
12
12
]
13
13
}
14
14
}
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ path = ".venv"
79
79
80
80
[tool .hatch .envs .default .scripts ]
81
81
test = " pytest tests/unit/ -n 10 --cov --cov-report=xml --timeout 30 --durations 20"
82
- coverage = " pytest tests/ --ignore=test_data - n 10 --cov --cov-report=html --timeout 480 --durations 20"
82
+ coverage = " pytest tests/ -n 10 --cov --cov-report=html --timeout 480 --durations 20"
83
83
integration = " pytest tests/integration/ -n 10 --cov --cov-report=xml --timeout 480 --durations 20"
84
84
fmt = [" black . --extend-exclude 'demos/'" ,
85
85
" ruff check . --fix" ,
@@ -97,7 +97,7 @@ profile = "black"
97
97
exclude = [' venv' , ' .venv' ]
98
98
99
99
[tool .pytest .ini_options ]
100
- addopts = " --no-header --ignore=test_data "
100
+ addopts = " --no-header"
101
101
cache_dir = " .venv/pytest-cache"
102
102
filterwarnings = [" ignore::DeprecationWarning" ]
103
103
Original file line number Diff line number Diff line change
1
+ def pytest_ignore_collect (path , config ):
2
+ # Ignore test_data directory
3
+ if "test_data" in str (path ):
4
+ return True
You can’t perform that action at this time.
0 commit comments