Check if DNSKEY lifetime timestamps are processed correctly by Knot.
"""
-import collections
-import os
-import shutil
-import datetime
-import subprocess
-from subprocess import check_call
-
from dnstest.utils import *
from dnstest.keys import Keymgr
from dnstest.test import Test
Check of automatic KSK rollover with DS push.
"""
-import collections
-import os
-import shutil
-import datetime
-import subprocess
-from subprocess import check_call
-
from dnstest.utils import *
from dnstest.keys import Keymgr
from dnstest.test import Test
Check of DS query planning.
"""
-import collections
-import os
-import random
-import shutil
-import datetime
-import subprocess
-from subprocess import check_call
-
from dnstest.utils import *
from dnstest.keys import Keymgr
from dnstest.test import Test
Check of automatic algorithm rollover scenario.
"""
-import collections
-import os
import random
-import shutil
-import datetime
-import subprocess
-from subprocess import check_call
from dnstest.utils import *
from dnstest.keys import Keymgr
Check if keytag conflict is correctly handled by Knot.
"""
-import collections
-import os
import shutil
-import datetime
-import subprocess
-from subprocess import check_call
from dnstest.utils import *
from dnstest.keys import Keymgr
The key_rollovers test is too over-complicated already, unable to add test cases.
"""
-import collections
-import os
-import random
-import shutil
-import datetime
-import subprocess
-from subprocess import check_call
-
from dnstest.utils import *
from dnstest.keys import Keymgr
from dnstest.test import Test
Test of offline signing using KSR and SKR with pre-planned KSK rollover and automatic ZSK rollover.
"""
-import collections
-import os
-import shutil
-import datetime
-import subprocess
-import time
import random
-from subprocess import check_call
from dnstest.utils import *
from dnstest.keys import Keymgr
Check of automatic algorithm rollover scenario.
"""
-import collections
-import os
-import shutil
-import datetime
import random
-import subprocess
-from subprocess import check_call
from dnstest.utils import *
from dnstest.keys import Keymgr
import binascii
import dns.name
-import collections
+import collections.abc
import itertools
from dnstest.utils import *
rtype = dns.rdatatype.from_text(rtype)
cnt = 0
- if isinstance(self.resp, collections.Iterable):
+ if isinstance(self.resp, collections.abc.Iterable):
self.resp, iter_copy = itertools.tee(self.resp)
for msg in iter_copy:
if not section or section == "answer":