diff options
Diffstat (limited to 'lib/dnspython/tests/name.py')
-rw-r--r-- | lib/dnspython/tests/name.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/dnspython/tests/name.py b/lib/dnspython/tests/name.py index a53ef9eac6..1ab4f52814 100644 --- a/lib/dnspython/tests/name.py +++ b/lib/dnspython/tests/name.py @@ -25,7 +25,7 @@ import dns.e164 class NameTestCase(unittest.TestCase): def setUp(self): self.origin = dns.name.from_text('example.') - + def testFromTextRel1(self): n = dns.name.from_text('foo.bar') self.failUnless(n.labels == ('foo', 'bar', '')) @@ -352,7 +352,7 @@ class NameTestCase(unittest.TestCase): n = dns.name.from_text('FOO.bar', None) d = n.to_digestable(dns.name.root) self.failUnless(d == '\x03foo\x03bar\x00') - + def testBadDigestable(self): def bad(): n = dns.name.from_text('FOO.bar', None) |