mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Update conftest.py
This commit is contained in:
parent
115f3f6d6c
commit
ffa67b257c
1 changed files with 3 additions and 1 deletions
|
@ -582,7 +582,9 @@ def pytest_runtest_setup(item):
|
|||
for group in ("core_test", "slow_test", "flaky_jail")
|
||||
)
|
||||
if test_group_count > 1:
|
||||
raise pytest.UsageError("Tests can only be in one test group. ('core_test', 'slow_test', 'flaky_jail')")
|
||||
raise pytest.UsageError(
|
||||
"Tests can only be in one test group. ('core_test', 'slow_test', 'flaky_jail')"
|
||||
)
|
||||
|
||||
if item.get_closest_marker("core_test"):
|
||||
if not item.config.getoption("--core-tests"):
|
||||
|
|
Loading…
Add table
Reference in a new issue