mirror of
https://github.com/mirror/wget.git
synced 2025-04-25 12:40:30 +08:00
testenv: HTTPTest.begin() should return exit value
* testenv/test/http_test.py: Ensure that HTTPTest.begin() always returns a value Previously the HTTPTest.begin() method always returned None. However this is not consistent with the begin() implementation of the parent class (BaseTest). This change ensures that HTTPTest.begin() returns a value. Signed-off-by: Tomas Hozza <thozza@redhat.com>
This commit is contained in:
parent
1fe9d4cf09
commit
28196b6807
@ -42,7 +42,7 @@ class HTTPTest(BaseTest):
|
||||
print_green("Test Passed.")
|
||||
else:
|
||||
self.tests_passed = False
|
||||
super(HTTPTest, self).begin()
|
||||
return super(HTTPTest, self).begin()
|
||||
|
||||
def instantiate_server_by(self, protocol):
|
||||
server = {HTTP: HTTPd,
|
||||
|
Loading…
Reference in New Issue
Block a user