<<: *python_triggering_rules
needs: []
script:
- - vulture --exclude "*ans.py,conftest.py,isctest" --ignore-names "bootstrap,pytestmark,reconfigure_policy,setup_filters" bin/tests/system/
+ - vulture --exclude "*ans.py,conftest.py,isctest" --ignore-names "after_servers_start,bootstrap,pytestmark" bin/tests/system/
ci-variables:
<<: *precheck_job
@pytest.fixture(scope="module", autouse=True)
-def setup_filters():
+def after_servers_start():
prime_cache("10.53.0.2")
prime_cache("10.53.0.3")
@pytest.fixture(scope="module", autouse=True)
-def setup_filters():
+def after_servers_start():
prime_cache("fd92:7065:b8e:ffff::2")
prime_cache("fd92:7065:b8e:ffff::3")
@pytest.fixture(scope="module", autouse=True)
-def setup_filters():
+def after_servers_start():
prime_cache("10.53.0.2")
prime_cache("10.53.0.3")
@pytest.fixture(scope="module", autouse=True)
-def setup_filters():
+def after_servers_start():
prime_cache("fd92:7065:b8e:ffff::2")
prime_cache("fd92:7065:b8e:ffff::3")
@pytest.fixture(scope="module", autouse=True)
-def reconfigure(ns6, templates):
+def after_servers_start(ns6, templates):
global TIME_PASSED # pylint: disable=global-statement
isctest.kasp.wait_keymgr_done(ns6, "step1.csk-algorithm-roll.kasp")
@pytest.fixture(scope="module", autouse=True)
-def reconfigure(ns6, templates):
+def after_servers_start(ns6, templates):
global TIME_PASSED # pylint: disable=global-statement
isctest.kasp.wait_keymgr_done(ns6, "step1.algorithm-roll.kasp")
@pytest.fixture(scope="module", autouse=True)
-def reconfigure_policy(ns6, templates):
+def after_servers_start(ns6, templates):
templates.render("ns6/named.conf", {"policy": "insecure"})
- ns6.reconfigure()
+ ns6.reconfigure() # move from "unsigning" to "insecure"
@pytest.mark.parametrize(
@pytest.fixture(scope="module", autouse=True)
-def reconfigure_policy(ns6, templates):
+def after_servers_start(ns6, templates):
isctest.kasp.wait_keymgr_done(ns6, "shorter-lifetime")
isctest.kasp.wait_keymgr_done(ns6, "longer-lifetime")
isctest.kasp.wait_keymgr_done(ns6, "limit-lifetime")
@pytest.fixture(scope="module", autouse=True)
-def reconfigure_policy(ns6, templates):
+def after_servers_start(ns6, templates):
isctest.kasp.wait_keymgr_done(ns6, "going-straight-to-none.kasp")
isctest.kasp.wait_keymgr_done(ns6, "going-straight-to-none-dynamic.kasp")