From patchwork Tue Jul 26 15:42:27 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: James Westby X-Patchwork-Id: 3156 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id C22FA24142 for ; Tue, 26 Jul 2011 15:42:29 +0000 (UTC) Received: from mail-qw0-f52.google.com (mail-qw0-f52.google.com [209.85.216.52]) by fiordland.canonical.com (Postfix) with ESMTP id 88851A186A4 for ; Tue, 26 Jul 2011 15:42:29 +0000 (UTC) Received: by qwb8 with SMTP id 8so381151qwb.11 for ; Tue, 26 Jul 2011 08:42:29 -0700 (PDT) Received: by 10.224.195.193 with SMTP id ed1mr4497432qab.162.1311694948784; Tue, 26 Jul 2011 08:42:28 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.229.217.78 with SMTP id hl14cs117077qcb; Tue, 26 Jul 2011 08:42:28 -0700 (PDT) Received: by 10.216.187.68 with SMTP id x46mr3661419wem.98.1311694947888; Tue, 26 Jul 2011 08:42:27 -0700 (PDT) Received: from adelie.canonical.com (adelie.canonical.com [91.189.90.139]) by mx.google.com with ESMTP id w59si1129870wec.96.2011.07.26.08.42.27; Tue, 26 Jul 2011 08:42:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.139 as permitted sender) client-ip=91.189.90.139; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.139 as permitted sender) smtp.mail=bounces@canonical.com Received: from loganberry.canonical.com ([91.189.90.37]) by adelie.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1Qljm7-0003Dz-9V for ; Tue, 26 Jul 2011 15:42:27 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 419DC2E8914 for ; Tue, 26 Jul 2011 15:42:27 +0000 (UTC) MIME-Version: 1.0 X-Launchpad-Project: linaro-image-tools X-Launchpad-Branch: ~linaro-image-tools/linaro-image-tools/trunk X-Launchpad-Message-Rationale: Subscriber X-Launchpad-Branch-Revision-Number: 391 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [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> Date: Tue, 26 Jul 2011 15:42:27 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="13503"; Instance="initZopeless config overlay" X-Launchpad-Hash: 561f7581d0c0bc56b2e8095c54fb5ddc382468d1 ------------------------------------------------------------ revno: 391 committer: James Westby 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 === 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