Move custom pytest markers into isctest module

Keep our pytest code more organized by moving the shared code for custom
pytest markers into a dedicated isctest/mark.py module.
This commit is contained in:
Tom Krizek
2023-12-22 15:56:58 +01:00
parent d87da207fb
commit f314f1b432
9 changed files with 21 additions and 16 deletions

View File

@@ -11,12 +11,12 @@
import platform
import pytest_custom_markers
import isctest.mark
MAX_RUNS = 2 if platform.system() == "FreeBSD" else 1 # GL#3846
@pytest_custom_markers.flaky(max_runs=MAX_RUNS)
@isctest.mark.flaky(max_runs=MAX_RUNS)
def test_nsupdate(run_tests_sh):
run_tests_sh()