~dooferlad/lava-dispatcher/lava-dispatcher-busybox-fixes

« back to all changes in this revision

Viewing changes to lava_dispatcher/tests/helper.py

  • Committer: Neil Williams
  • Date: 2013-08-19 11:28:21 UTC
  • mfrom: (644.1.1 lava-dispatcher)
  • Revision ID: neil.williams@linaro.org-20130819112821-mu4xypyetzjhof14
Neil Williams 2013-08-12 Fix unresolvable reference and PEP8 line separation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
 
37
37
def create_device_config(name, data):
38
38
    create_config("devices/%s.conf" % name, data)
39
 
    lava_dispatcher.utils.custom_config_path = tmp_config_dir
 
39
    lava_dispatcher.config.custom_config_path = tmp_config_dir
40
40
    config = get_device_config(name)
41
 
    lava_dispatcher.utils.custom_config_path = None
 
41
    lava_dispatcher.config.custom_config_path = None
42
42
    return config
43
43
 
44
44
 
51
51
 
52
52
from unittest import TestCase
53
53
 
 
54
 
54
55
class LavaDispatcherTestCase(TestCase):
55
56
 
56
57
    def setUp(self):