[tor-commits] [ooni-probe/master] Add backend to the required options of http_requests test
art at torproject.org
art at torproject.org
Sat Nov 10 17:21:20 UTC 2012
commit e31917f5ac61b74f46b5fa52c678f7c19a56824f
Author: Arturo Filastò <art at fuffa.org>
Date: Sat Nov 10 12:29:17 2012 +0100
Add backend to the required options of http_requests test
---
nettests/core/http_requests.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/nettests/core/http_requests.py b/nettests/core/http_requests.py
index f1a16e0..4fc8205 100644
--- a/nettests/core/http_requests.py
+++ b/nettests/core/http_requests.py
@@ -27,6 +27,8 @@ class HTTPRequests(httpt.HTTPTest):
optParameters = [['backend', 'b', None, 'URL of the backend to use for sending the requests']]
+ requiredOptions = ['backend']
+
def processInputs(self):
if self.localOptions['backend']:
self.url = self.localOptions['backend']
More information about the tor-commits
mailing list