diff options
| author | Martin <martin.basti@gmail.com> | 2016-07-02 02:30:08 +0200 |
|---|---|---|
| committer | Martin <martin.basti@gmail.com> | 2016-07-02 02:41:33 +0200 |
| commit | d3fc1892555de51c5e006d9ee10351d525c02d2c (patch) | |
| tree | 64ab2c65ec65cec59558ca3da79addb4d1588b3e /tests/test_ntoaaton.py | |
| parent | 83665d80228d485584d1d7a1c241d9c5892345a6 (diff) | |
| download | dnspython-d3fc1892555de51c5e006d9ee10351d525c02d2c.tar.gz | |
Pylint: tests: fix redefined functions
This fix increases number of tests from
Ran 424 tests in 13.300s
to
Ran 435 tests in 13.679s
Diffstat (limited to 'tests/test_ntoaaton.py')
| -rw-r--r-- | tests/test_ntoaaton.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test_ntoaaton.py b/tests/test_ntoaaton.py index b45689c..ac72403 100644 --- a/tests/test_ntoaaton.py +++ b/tests/test_ntoaaton.py @@ -73,19 +73,19 @@ class NtoAAtoNTestCase(unittest.TestCase): a = aton6('1:2:3:4:5:6:7:8:9') self.failUnlessRaises(dns.exception.SyntaxError, bad) - def test_aton1(self): + def test_aton6(self): a = aton6('::') self.assertEqual(a, b'\x00' * 16) - def test_aton2(self): + def test_aton7(self): a = aton6('::1') self.assertEqual(a, b'\x00' * 15 + b'\x01') - def test_aton3(self): + def test_aton8(self): a = aton6('::10.0.0.1') self.assertEqual(a, b'\x00' * 12 + b'\x0a\x00\x00\x01') - def test_aton4(self): + def test_aton9(self): a = aton6('abcd::dcba') self.assertEqual(a, b'\xab\xcd' + b'\x00' * 12 + b'\xdc\xba') |
