]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
The kasp tests require dnspython >= 2.0.0
authorMatthijs Mekking <matthijs@isc.org>
Tue, 18 Mar 2025 09:06:29 +0000 (10:06 +0100)
committerMatthijs Mekking <matthijs@isc.org>
Thu, 17 Apr 2025 11:50:49 +0000 (13:50 +0200)
The kasp tests make use of dns.update.UpdateMessage and dns.tsig.Key,
that are introduced in dnspython 2.0.0.

bin/tests/system/kasp/tests_kasp.py

index adc83988c20ac238545b878049efc6b257ff0e00..7ffa22e74024d3f213f9ba6a036f828be06d20ed 100644 (file)
@@ -19,6 +19,7 @@ import dns
 import dns.update
 import pytest
 
+pytest.importorskip("dns", minversion="2.0.0")
 import isctest
 from isctest.kasp import (
     KeyProperties,