[tor-commits] [ooni-probe/master] Override skipTest so that it does not produce an error inside of twisted 12.2

art at torproject.org art at torproject.org
Mon Sep 29 18:18:09 UTC 2014


commit f467b3f5f8203b15579675e9e3a910c077efbba5
Author: Arturo Filastò <art at fuffa.org>
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()





More information about the tor-commits mailing list