diff mbox

[Branch,~linaro-maintainers/linaro-image-tools/trunk] Rev 323: TestBootSteps.make_boot_files(): only return a d_img_data if the BoardConfig

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

Commit Message

Loïc Minier April 21, 2011, 1:19 p.m. UTC
------------------------------------------------------------
revno: 323
committer: Loïc Minier <lool@dooz.org>
branch nick: linaro-image-tools
timestamp: Thu 2011-04-21 15:13:59 +0200
message:
  TestBootSteps.make_boot_files(): only return a d_img_data if the BoardConfig
  defines a dtb_name.
modified:
  linaro_image_tools/media_create/tests/test_media_create.py


--
lp:linaro-image-tools
https://code.launchpad.net/~linaro-maintainers/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-maintainers/linaro-image-tools/trunk/+edit-subscription
diff mbox

Patch

=== modified file 'linaro_image_tools/media_create/tests/test_media_create.py'
--- linaro_image_tools/media_create/tests/test_media_create.py	2011-04-21 13:12:57 +0000
+++ linaro_image_tools/media_create/tests/test_media_create.py	2011-04-21 13:13:59 +0000
@@ -177,6 +177,8 @@ 
 
     def make_boot_files(self, config):
         def _get_kflavor_files_mock(cls, path):
+            if cls.dtb_name is None:
+                return (path, path, None)
             return (path, path, path)
 
         self.useFixture(MockSomethingFixture(