summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBob Halley <halley@dnspython.org>2020-10-06 09:33:57 -0700
committerBob Halley <halley@dnspython.org>2020-10-06 09:33:57 -0700
commit923130d6b5412201a5f487496d56e6f9ad09417d (patch)
tree3628271f2b51de94213a7adc59476c0407aff83b /tests
parent21ec1198f9a3941c0b4f6aee1acca8897bbbb489 (diff)
downloaddnspython-923130d6b5412201a5f487496d56e6f9ad09417d.tar.gz
we should not canonicalize SVCB/HTTPS alias target either!
Diffstat (limited to 'tests')
-rw-r--r--tests/test_svcb.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_svcb.py b/tests/test_svcb.py
index 51126df..7cd7768 100644
--- a/tests/test_svcb.py
+++ b/tests/test_svcb.py
@@ -315,7 +315,7 @@ class SVCBTestCase(unittest.TestCase):
def test_alias_not_compressed(self):
rrs = dns.rrset.from_text('elsewhere.', 300, 'in', 'svcb',
- '0 elsewhere.')
+ '0 elseWhere.')
output = io.BytesIO()
compress = {}
rrs.to_wire(output, compress)
@@ -323,4 +323,4 @@ class SVCBTestCase(unittest.TestCase):
# Just one of these assertions is enough, but we do both to show
# the bug we're checking is fixed.
assert not wire.endswith(b'\xc0\x00')
- assert wire.endswith(b'\x09elsewhere\x00')
+ assert wire.endswith(b'\x09elseWhere\x00')