[tor-commits] [ooni-probe/master] Implement unittest to check if tests that fail twice

art at torproject.org art at torproject.org
Mon May 30 16:28:33 UTC 2016


commit cf9ea6cb6f1cbd5455651291c8fe2c6822c804eb
Author: Arturo Filastò <arturo at filasto.net>
Date:   Tue May 3 12:27:54 2016 +0200

    Implement unittest to check if tests that fail twice
    
    This is to ensure that net tests that eventually succeed, but fail sometimes
    will run properly until the end.
---
 ooni/tests/test_director.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/ooni/tests/test_director.py b/ooni/tests/test_director.py
index 5875ccb..d2c4c82 100644
--- a/ooni/tests/test_director.py
+++ b/ooni/tests/test_director.py
@@ -5,6 +5,8 @@ from ooni.director import Director
 from ooni.nettest import NetTestLoader
 from ooni.tests.bases import ConfigTestCase
 
+from ooni.nettest import NetTestLoader
+
 from twisted.internet import defer
 from twisted.trial import unittest
 





More information about the tor-commits mailing list