mirror of
https://gitlab.com/gnuwget/wget.git
synced 2025-07-29 12:37:24 +00:00

Files that were refactored are WgetTest.py, some conf scripts and some test case file. The purpose of the refactoring of the test cases classes is to provide a better interface for the incoming FTP test counterpart.
11 lines
229 B
Python
11 lines
229 B
Python
from conf import hook
|
|
|
|
|
|
@hook()
|
|
class WgetCommands:
|
|
def __init__(self, commands):
|
|
self.commands = commands
|
|
|
|
def __call__(self, test_obj):
|
|
test_obj.wget_options = test_obj._replace_substring(self.commands)
|