Debian Codegraph @

testenv/conf/urls.py

raw
1 from conf import hook
2
3 """ Pre-Test Hook: URLS
4 This hook is used to define the paths of the files on the test server that wget
5 will send a request for. """
6
7
8 @hook(alias='Urls')
9 class URLs:
10 def __init__(self, urls):
11 self.urls = urls
12
13 def __call__(self, test_obj):
14 test_obj.urls = self.urls