mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-13 03:00:00 -04: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.
(cherry picked from commit a72ff9fd57)
This commit is contained in:
parent
f3f7667fc7
commit
2eb5ce24fb
1 changed files with 1 additions and 1 deletions
|
|
@ -669,7 +669,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…
Reference in a new issue