Files
hisi_SS524V100_SDK/mpp/sample/wget-1.25.0/testenv/conf/environment_variables.py
T

15 lines
340 B
Python

from conf import hook
""" Test Option: EnvironmentVariables
This hook is used to define environment variables used for execution of wget
command in test."""
@hook(alias='EnvironmentVariables')
class URLs:
def __init__(self, envs):
self.envs = envs
def __call__(self, test_obj):
test_obj.envs.update(**self.envs)