[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [ooni-probe/master] Use the ConfigTestCase also for test_nettest
commit 0842d2158ab879e34957168f509c6dfad9c3cb7a
Author: Arturo Filastò <arturo@xxxxxxxxxxx>
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)
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits