commit 0842d2158ab879e34957168f509c6dfad9c3cb7a Author: Arturo Filastò arturo@filasto.net Date: Wed Jun 29 20:50:40 2016 +0200
Use the ConfigTestCase also for test_nettest --- ooni/tests/test_nettest.py | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/ooni/tests/test_nettest.py b/ooni/tests/test_nettest.py index 4298fe9..239080a 100644 --- a/ooni/tests/test_nettest.py +++ b/ooni/tests/test_nettest.py @@ -223,6 +223,7 @@ class TestNetTest(ConfigTestCase): timeout = 1
def setUp(self): + super(TestNetTest, self).setUp() self.filename = "" with open(dummyInputFile, 'w') as f: for i in range(10): @@ -230,6 +231,7 @@ class TestNetTest(ConfigTestCase): super(TestNetTest, self).setUp()
def tearDown(self): + super(TestNetTest, self).tearDown() os.remove(dummyInputFile) if self.filename != "": os.remove(self.filename)