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

[tor-commits] [ooni-probe/master] Fix to adhere to the new test spec (ts-013)



commit 74af80fd9cee94452d41323085855ba204dac3b4
Author: anadahz <kojgelo@xxxxxxxxx>
Date:   Thu Apr 9 01:52:51 2015 +0200

    Fix to adhere to the new test spec (ts-013)
---
 ooni/nettests/blocking/meek_fronted_requests.py |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ooni/nettests/blocking/meek_fronted_requests.py b/ooni/nettests/blocking/meek_fronted_requests.py
index 20f42c9..6e3cb7a 100644
--- a/ooni/nettests/blocking/meek_fronted_requests.py
+++ b/ooni/nettests/blocking/meek_fronted_requests.py
@@ -64,9 +64,9 @@ class meekTest(httpt.HTTPTest):
                 % (self.DomainName, self.header))
         def process_body(body):
             if self.ExpectedBody != body:
-                self.report['censored'] = True
+                self.report['success'] = False
             else:
-                self.report['censored'] = False
+                self.report['success'] = True
 
         headers = {}
         headers['Host'] = [self.header]



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