summaryrefslogtreecommitdiff
path: root/tests/test_flags.py
diff options
context:
space:
mode:
authorMartin <martin.basti@gmail.com>2016-07-02 02:30:08 +0200
committerMartin <martin.basti@gmail.com>2016-07-02 02:41:33 +0200
commitd3fc1892555de51c5e006d9ee10351d525c02d2c (patch)
tree64ab2c65ec65cec59558ca3da79addb4d1588b3e /tests/test_flags.py
parent83665d80228d485584d1d7a1c241d9c5892345a6 (diff)
downloaddnspython-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_flags.py')
-rw-r--r--tests/test_flags.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_flags.py b/tests/test_flags.py
index 2ed5349..9d230ac 100644
--- a/tests/test_flags.py
+++ b/tests/test_flags.py
@@ -41,10 +41,10 @@ class FlagsTestCase(unittest.TestCase):
self.failUnless(dns.rcode.from_flags(0, 0x01000000) == \
dns.rcode.BADVERS)
- def test_rcode6(self):
+ def test_rcode7(self):
self.failUnless(dns.rcode.from_flags(5, 0) == dns.rcode.REFUSED)
- def test_rcode7(self):
+ def test_rcode8(self):
def bad():
dns.rcode.to_flags(4096)
self.failUnlessRaises(ValueError, bad)