[Branch,~linaro-validation/lava-dispatcher/trunk] Rev 652: Neil Williams 2013-08-12 Fix unresolvable reference and PEP8 line separation.

Message ID 20130819112927.12633.66637.launchpad@ackee.canonical.com
State Accepted
Headers show

Commit Message

Neil Williams Aug. 19, 2013, 11:29 a.m.
Merge authors:
  Neil Williams (codehelp)
Related merge proposals:
  https://code.launchpad.net/~codehelp/lava-dispatcher/pep8-update/+merge/179646
  proposed by: Neil Williams (codehelp)
  review: Approve - Fu Wei (fu-wei)
------------------------------------------------------------
revno: 652 [merge]
committer: Neil Williams <neil.williams@linaro.org>
branch nick: lava-dispatcher
timestamp: Mon 2013-08-19 12:28:21 +0100
message:
  Neil Williams 2013-08-12 Fix unresolvable reference and PEP8 line separation.
modified:
  lava_dispatcher/tests/helper.py


--
lp:lava-dispatcher
https://code.launchpad.net/~linaro-validation/lava-dispatcher/trunk

You are subscribed to branch lp:lava-dispatcher.
To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-dispatcher/trunk/+edit-subscription

Patch

=== modified file 'lava_dispatcher/tests/helper.py'
--- lava_dispatcher/tests/helper.py	2013-08-07 16:05:41 +0000
+++ lava_dispatcher/tests/helper.py	2013-08-12 09:20:01 +0000
@@ -36,9 +36,9 @@ 
 
 def create_device_config(name, data):
     create_config("devices/%s.conf" % name, data)
-    lava_dispatcher.utils.custom_config_path = tmp_config_dir
+    lava_dispatcher.config.custom_config_path = tmp_config_dir
     config = get_device_config(name)
-    lava_dispatcher.utils.custom_config_path = None
+    lava_dispatcher.config.custom_config_path = None
     return config
 
 
@@ -51,6 +51,7 @@ 
 
 from unittest import TestCase
 
+
 class LavaDispatcherTestCase(TestCase):
 
     def setUp(self):