commit e31917f5ac61b74f46b5fa52c678f7c19a56824f Author: Arturo Filastò art@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']