summaryrefslogtreecommitdiffstats
path: root/testenv/conf/environment_variables.py
blob: 323c051cde4b55991491b1428e02f9301422b288 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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)