summaryrefslogtreecommitdiff
path: root/testenv/test
diff options
context:
space:
mode:
Diffstat (limited to 'testenv/test')
-rw-r--r--testenv/test/base_test.py9
-rw-r--r--testenv/test/http_test.py7
2 files changed, 9 insertions, 7 deletions
diff --git a/testenv/test/base_test.py b/testenv/test/base_test.py
index 369370a3..8bf8ea5f 100644
--- a/testenv/test/base_test.py
+++ b/testenv/test/base_test.py
@@ -28,9 +28,9 @@ class BaseTest:
Attributes should not be defined outside __init__.
"""
self.name = name
- self.pre_configs = pre_hook or {} # if pre_hook == None, then
- # {} (an empty dict object) is
- # passed to self.pre_configs
+ self.pre_configs = pre_hook or {} # if pre_hook == None, then
+ # {} (an empty dict object) is
+ # passed to self.pre_configs
self.test_params = test_params or {}
self.post_configs = post_hook or {}
self.protocols = protocols
@@ -98,12 +98,13 @@ class BaseTest:
test_path = os.path.abspath(".")
wget_path = os.path.abspath(os.path.join(test_path,
"..", '..', 'src', "wget"))
+ wget_options = '--debug --no-config %s' % self.wget_options
if os.getenv("VALGRIND_TESTS"):
valgrind_test = "valgrind --error-exitcode=301 --leak-check=full"
else:
valgrind_test = ""
- cmd_line = '%s %s %s ' % (valgrind_test, wget_path, self.wget_options)
+ cmd_line = '%s %s %s ' % (valgrind_test, wget_path, wget_options)
for protocol, urls, domain in zip(self.protocols,
self.urls,
self.domains):
diff --git a/testenv/test/http_test.py b/testenv/test/http_test.py
index fe2254de..230eff8e 100644
--- a/testenv/test/http_test.py
+++ b/testenv/test/http_test.py
@@ -7,9 +7,10 @@ class HTTPTest(BaseTest):
""" Class for HTTP Tests. """
- # Temp Notes: It is expected that when pre-hook functions are executed, only an empty test-dir exists.
- # pre-hook functions are executed just prior to the call to Wget is made.
- # post-hook functions will be executed immediately after the call to Wget returns.
+ # Temp Notes: It is expected that when pre-hook functions are executed,
+ # only an empty test-dir exists. pre-hook functions are executed just prior
+ # to the call to Wget is made. post-hook functions will be executed
+ # immediately after the call to Wget returns.
def __init__(self,
name="Unnamed Test",