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

art at torproject.org art at torproject.org
Mon Jul 27 13:44:20 UTC 2015


commit 74af80fd9cee94452d41323085855ba204dac3b4
Author: anadahz <kojgelo at inbox.com>
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]





More information about the tor-commits mailing list