[tor-commits] [ooni-probe/master] Add not about the fact that tests should return a deferred.

art at torproject.org art at torproject.org
Sun Nov 11 11:56:18 UTC 2012


commit 9235c7d2d769c70971f1622ee40f3588467aaa6b
Author: Arturo Filastò <art at fuffa.org>
Date:   Sun Nov 11 12:15:46 2012 +0100

    Add not about the fact that tests should return a deferred.
---
 ooni/nettest.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/ooni/nettest.py b/ooni/nettest.py
index 896ae2a..62b3657 100644
--- a/ooni/nettest.py
+++ b/ooni/nettest.py
@@ -81,6 +81,9 @@ class NetTestCase(object):
                        required for proper running of a test.
 
     * localOptions: contains the parsed command line arguments.
+
+    Quirks:
+    Every class that is prefixed with test *must* return a twisted.internet.defer.Deferred.
     """
     name = "I Did Not Change The Name"
     author = "Jane Doe <foo at example.com>"





More information about the tor-commits mailing list