mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
fix pre
This commit is contained in:
parent
a7b178beca
commit
8869972f07
1 changed files with 2 additions and 1 deletions
|
@ -578,7 +578,8 @@ def pytest_runtest_setup(item):
|
|||
item._skipped_by_mark = True
|
||||
pytest.skip(PRE_PYTEST_SKIP_REASON)
|
||||
test_group_count = sum(
|
||||
bool(item.get_closest_marker(group)) for group in ("core_test", "slow_test", "flaky_jail")
|
||||
bool(item.get_closest_marker(group))
|
||||
for group in ("core_test", "slow_test", "flaky_jail")
|
||||
)
|
||||
if item.get_closest_marker("core_test") and item.get_closest_marker("slow_test"):
|
||||
raise pytest.UsageError(
|
||||
|
|
Loading…
Add table
Reference in a new issue