[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [ooni-probe/master] Override skipTest so that it does not produce an error inside of twisted 12.2
commit f467b3f5f8203b15579675e9e3a910c077efbba5
Author: Arturo Filastò <art@xxxxxxxxx>
Date: Thu Sep 18 11:33:05 2014 +0200
Override skipTest so that it does not produce an error inside of twisted 12.2
---
ooni/tests/bases.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/ooni/tests/bases.py b/ooni/tests/bases.py
index a359ef8..73bf319 100644
--- a/ooni/tests/bases.py
+++ b/ooni/tests/bases.py
@@ -7,5 +7,8 @@ class ConfigTestCase(unittest.TestCase):
def setUp(self):
config.initialize_ooni_home("ooni_home")
+ def skipTest(self, reason):
+ raise unittest.SkipTest(reason)
+
def tearDown(self):
- config.read_config_file()
\ No newline at end of file
+ config.read_config_file()
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits