The isctest.mark.with_ecdsa_deterministic was accidentally applied to
all dnssec_py modules rather than just tests_findnoqname_mismatch.py.
Also, `isctest.mark` has to be imported using the full path, otherwise
it might not be properly loaded (this only worked in CI due to test
ordering).
import pytest
-import isctest
-
-DNSSEC_PY_MARK = [
- isctest.mark.with_ecdsa_deterministic,
- pytest.mark.extra_artifacts(
- [
- "ans*/*.db",
- "ans*/*.run",
- "ans*/*.pem",
- "ns*/dsset-*",
- "ns*/trusted.conf",
- "ns*/zones/*.db",
- "ns*/zones/*.db.signed",
- ]
- ),
-]
+DNSSEC_PY_MARK = pytest.mark.extra_artifacts(
+ [
+ "ans*/*.db",
+ "ans*/*.run",
+ "ans*/*.pem",
+ "ns*/dsset-*",
+ "ns*/trusted.conf",
+ "ns*/zones/*.db",
+ "ns*/zones/*.db.signed",
+ ]
+)
from isctest.zone import PythonZoneKey, Zone
import isctest
+import isctest.mark
ZONE = "f217.test."
CHILD = f"evil.{ZONE}"
AUTH = "10.53.0.4"
RESOLVER = "10.53.0.9"
-pytestmark = DNSSEC_PY_MARK
+pytestmark = [isctest.mark.with_ecdsa_deterministic, DNSSEC_PY_MARK]
def _make_key():