mirror of
https://github.com/mirror/wget.git
synced 2025-01-08 19:30:41 +08:00
ef372a4f27
* ChangeLog-2014-12-10: invokation -> invocation * doc/wget.texi: invokation -> invocation * src/main.c: seperated -> separated * src/options.h: seperated -> separated * testenv/README: invokation -> invocation * testenv/conf/wget_commands.py: invokation -> invocation
16 lines
423 B
Python
16 lines
423 B
Python
from conf import hook
|
|
|
|
""" Pre-Test Hook: WgetCommands
|
|
This hook is used to specify the test specific switches that must be passed to
|
|
wget on invocation. Default switches are hard coded in the test suite itself.
|
|
"""
|
|
|
|
|
|
@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)
|