[tor-commits] [ooni-probe/master] Set the input to be the specified URL in the http_requests test

art at torproject.org art at torproject.org
Fri Apr 29 09:42:26 UTC 2016


commit 76298b89ba341380ec4d1ab8e640eb7a4a9ca531
Author: Arturo Filastò <arturo at filasto.net>
Date:   Wed Mar 30 14:07:43 2016 +0200

    Set the input to be the specified URL in the http_requests test
---
 ooni/nettests/blocking/http_requests.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ooni/nettests/blocking/http_requests.py b/ooni/nettests/blocking/http_requests.py
index e2c9671..abc7efc 100644
--- a/ooni/nettests/blocking/http_requests.py
+++ b/ooni/nettests/blocking/http_requests.py
@@ -68,6 +68,7 @@ class HTTPRequestsTest(httpt.HTTPTest):
             self.url = self.localOptions['url']
         else:
             raise Exception("No input specified")
+        self.report['input'] = self.url
 
         self.factor = self.localOptions['factor']
         self.report['control_failure'] = None





More information about the tor-commits mailing list