summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin <martin.basti@gmail.com>2016-08-02 23:47:04 +0200
committerMartin <martin.basti@gmail.com>2016-08-03 00:45:49 +0200
commit1c275a213c86b7a9afac82c10128040e7b874474 (patch)
tree7f63bf5ac3bf7ff554657a44cd53c327cfb560b6
parent5ea92537d776687e1718a3fba11ff5509166f6e8 (diff)
downloaddnspython-1c275a213c86b7a9afac82c10128040e7b874474.tar.gz
Fix parent definition of BaseResolverTests class
This class needs to have parent 'unittest.TestCase' otherwise test is not executed. With this commit, BaseResolverTests are executed (number of tests increased, yay)
-rw-r--r--tests/test_resolver.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_resolver.py b/tests/test_resolver.py
index cd7b42c..8e0086b 100644
--- a/tests/test_resolver.py
+++ b/tests/test_resolver.py
@@ -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):