[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [ooni-probe/master] Add not about the fact that tests should return a deferred.
commit 9235c7d2d769c70971f1622ee40f3588467aaa6b
Author: Arturo Filastò <art@xxxxxxxxx>
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@xxxxxxxxxxx>"
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits