]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Commit forgotten file
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Wed, 18 Feb 2026 14:13:05 +0000 (15:13 +0100)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Wed, 18 Feb 2026 14:13:05 +0000 (15:13 +0100)
Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
regression-tests.recursor-dnssec/conftest.py [new file with mode: 0644]

diff --git a/regression-tests.recursor-dnssec/conftest.py b/regression-tests.recursor-dnssec/conftest.py
new file mode 100644 (file)
index 0000000..a8ad3d9
--- /dev/null
@@ -0,0 +1,16 @@
+import os
+import shutil
+from recursortests import RecursorTest
+import pytest
+
+@pytest.fixture(scope='session', autouse=True)
+def run_auths() -> str:
+    confdir = 'configs/auths'
+    shutil.rmtree(confdir, True)
+    os.mkdir(confdir)
+    print('Starting auths from fixture..')
+    RecursorTest.generateAllAuthConfig(confdir)
+    RecursorTest.startAllAuth(confdir)
+    yield "foo"
+    print('\nStopping auths by fixture')
+    RecursorTest.tearDownAuth()