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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user