[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 76298b89ba341380ec4d1ab8e640eb7a4a9ca531
Author: Arturo Filastò <arturo@xxxxxxxxxxx>
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



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits