[tor-commits] [ooni-probe/master] Set the default value of the failure keys in the HTTP request test

art at torproject.org art at torproject.org
Tue Feb 26 15:52:41 UTC 2013


commit eace1caba4122b9c8b4d0e9d30808f0ddb9e8463
Author: Arturo Filastò <art at fuffa.org>
Date:   Fri Feb 8 21:53:49 2013 +0100

    Set the default value of the failure keys in the HTTP request test
---
 nettests/blocking/http_requests.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/nettests/blocking/http_requests.py b/nettests/blocking/http_requests.py
index b6bab00..ef2cece 100644
--- a/nettests/blocking/http_requests.py
+++ b/nettests/blocking/http_requests.py
@@ -51,6 +51,8 @@ class HTTPRequestsTest(httpt.HTTPTest):
             raise Exception("No input specified")
 
         self.factor = self.localOptions['factor']
+        self.report['control_failure'] = None
+        self.report['experiment_failure'] = None
 
     def compare_body_lengths(self, body_length_a, body_length_b):
 





More information about the tor-commits mailing list