mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 05:57:52 +00:00
Make servers fixture in pytest module-wide
The servers are setup and torn down once per each test module. All the logs and server state persists between individual tests within the same module. The servers fixture representing these servers should be module-wide as well.
This commit is contained in:
parent
100b759863
commit
a72ff9fd57
@ -662,7 +662,7 @@ def system_test(
|
||||
request.node.stash[FIXTURE_OK] = True
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
@pytest.fixture(scope="module")
|
||||
def servers(system_test_dir):
|
||||
instances = {}
|
||||
for entry in system_test_dir.rglob("*"):
|
||||
|
Loading…
x
Reference in New Issue
Block a user