From: Martin Date: Tue, 2 Aug 2016 21:47:04 +0000 (+0200) Subject: Fix parent definition of BaseResolverTests class X-Git-Tag: v1.15.0~30^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c275a213c86b7a9afac82c10128040e7b874474;p=thirdparty%2Fdnspython.git 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) --- diff --git a/tests/test_resolver.py b/tests/test_resolver.py index cd7b42c3..8e0086b9 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):