diff mbox

[Branch,~linaro-image-tools/linaro-image-tools/trunk] Rev 391: Import the new name of fetch_image in test_fetch_image.

Message ID 20110726154227.8905.84495.launchpad@loganberry.canonical.com
State Accepted
Headers show

Commit Message

James Westby July 26, 2011, 3:42 p.m. UTC
------------------------------------------------------------
revno: 391
committer: James Westby <james.westby@linaro.org>
branch nick: trunk
timestamp: Tue 2011-07-26 16:40:32 +0100
message:
  Import the new name of fetch_image in test_fetch_image.
modified:
  linaro_image_tools/tests/test_fetch_image.py


--
lp:linaro-image-tools
https://code.launchpad.net/~linaro-image-tools/linaro-image-tools/trunk

You are subscribed to branch lp:linaro-image-tools.
To unsubscribe from this branch go to https://code.launchpad.net/~linaro-image-tools/linaro-image-tools/trunk/+edit-subscription
diff mbox

Patch

=== modified file 'linaro_image_tools/tests/test_fetch_image.py'
--- linaro_image_tools/tests/test_fetch_image.py	2011-07-19 18:01:18 +0000
+++ linaro_image_tools/tests/test_fetch_image.py	2011-07-26 15:40:32 +0000
@@ -20,15 +20,15 @@ 
 import wx
 import unittest
 import re
-import linaro_image_tools.FetchImage as FetchImage
+import linaro_image_tools.fetch_image as fetch_image
 
 
 class TestURLLookupFunctions(unittest.TestCase):
 
     def setUp(self):
-        self.file_handler   = FetchImage.FileHandler()
+        self.file_handler   = fetch_image.FileHandler()
         self.file_handler.update_files_from_server()
-        self.config         = FetchImage.FetchImageConfig()
+        self.config         = fetch_image.FetchImageConfig()
         self.config.settings["force_download"] = False
 
         # Load settings YAML, which defines the parameters we ask for and
@@ -37,7 +37,7 @@ 
 
         # Using the config we have, look up URLs to download data from in the
         # server index
-        self.db = FetchImage.DB(self.file_handler.index_file)
+        self.db = fetch_image.DB(self.file_handler.index_file)
 
     def test_url_lookup(self):
         self.settings = self.config.settings