Debian Codegraph @

testenv/conf/environment_variables.py

raw
1 from conf import hook
2
3 """ Test Option: EnvironmentVariables
4 This hook is used to define environment variables used for execution of wget
5 command in test."""
6
7
8 @hook(alias='EnvironmentVariables')
9 class URLs:
10 def __init__(self, envs):
11 self.envs = envs
12
13 def __call__(self, test_obj):
14 test_obj.envs.update(**self.envs)