]> git.ipfire.org Git - thirdparty/dnspython.git/commitdiff
Fix parent definition of BaseResolverTests class
authorMartin <martin.basti@gmail.com>
Tue, 2 Aug 2016 21:47:04 +0000 (23:47 +0200)
committerMartin <martin.basti@gmail.com>
Tue, 2 Aug 2016 22:45:49 +0000 (00:45 +0200)
This class needs to have parent 'unittest.TestCase' otherwise test is not executed.

With this commit, BaseResolverTests are executed (number of tests increased, yay)

tests/test_resolver.py

index cd7b42c399df36d9cdfc52000321dd4c9997ff55..8e0086b90fd421410ebbe2ef2ca6d9819e59a730 100644 (file)
@@ -102,7 +102,8 @@ class FakeAnswer(object):
     def __init__(self, expiration):
         self.expiration = expiration
 
-class BaseResolverTests(object):
+
+class BaseResolverTests(unittest.TestCase):
 
     if sys.platform != 'win32':
         def testRead(self):