Mark failing test as xfail for use of python-dns make_ds method

https://github.com/rthalley/dnspython/issues/343 documents broken use of
hashes in dns.dnssec.make_ds() and other python-dns methods. This is a
regression introduced with python-dns 1.16.

Mark the test as expecting to fail until python-dns is fixed in Fedora.

Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
Alexander Bokovoy 2019-08-21 16:25:31 +03:00 committed by Armando Neto
parent 481c540000
commit 24c6ce27b2

View File

@ -11,6 +11,8 @@ import dns.dnssec
import dns.resolver
import dns.name
import pytest
from ipatests.test_integration.base import IntegrationTest
from ipatests.pytest_ipa.integration import tasks
from ipatests.pytest_ipa.integration.firewall import Firewall
@ -312,6 +314,7 @@ class TestInstallDNSSECFirst(IntegrationTest):
self.replicas[0].ip, root_zone, timeout=300
), "Zone %s is not signed (replica)" % root_zone
@pytest.mark.xfail(reason='dnspython issue 343', strict=False)
def test_chain_of_trust(self):
"""
Validate signed DNS records, using our own signed root zone