Message ID | 20120221102710.30857.84168.launchpad@ackee.canonical.com |
---|---|
State | Accepted |
Headers | show |
=== modified file 'linaro_image_tools/media_create/tests/test_media_create.py' --- linaro_image_tools/media_create/tests/test_media_create.py 2012-02-21 08:01:08 +0000 +++ linaro_image_tools/media_create/tests/test_media_create.py 2012-02-21 08:44:42 +0000 @@ -1217,6 +1217,8 @@ return classmethod( lambda *args, **kwargs: self.funcs_calls.append(name)) + self.useFixture(MockSomethingFixture(os.path, 'exists', + lambda file: True)) fixture = MockCmdRunnerPopenFixture() self.useFixture(fixture) expected_commands = ['sudo -E cp boot/u-boot.bin ./startupfiles']