From 87b0608f156c53bcc3e17524c893d41bff368b18 Mon Sep 17 00:00:00 2001 From: Joshua Tauberer Date: Tue, 17 Jun 2014 17:34:26 -0400 Subject: [PATCH] test_dns: DNSSEC signing inserts empty text string components --- tests/test_dns.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_dns.py b/tests/test_dns.py index 3233e306..765d3c4c 100755 --- a/tests/test_dns.py +++ b/tests/test_dns.py @@ -59,6 +59,7 @@ def test2(tests, server, description): response = ["[no value]"] response = ";".join(str(r) for r in response) response = re.sub(r"(\"p=).*(\")", r"\1__KEY__\2", response) # normalize DKIM key + response = response.replace("\"\" ", "") # normalize TXT records (DNSSEC signing inserts empty text string components) # is it right? if response == expected_answer: