summaryrefslogtreecommitdiffstats
path: root/testenv/conf/domains.py
blob: ac03fe194dcfb212e482b796703db43db433d65d (plain)
1
2
3
4
5
6
7
8
9
from conf import hook

@hook(alias='Domains')
class Domains:
    def __init__(self, domains):
        self.domains = domains

    def __call__(self, test_obj):
        test_obj.domains = self.domains