summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/toaster/tests/browser/test_new_custom_image_page.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/tests/browser/test_new_custom_image_page.py b/bitbake/lib/toaster/tests/browser/test_new_custom_image_page.py
index 6361f40347..34d1bd45c7 100644
--- a/bitbake/lib/toaster/tests/browser/test_new_custom_image_page.py
+++ b/bitbake/lib/toaster/tests/browser/test_new_custom_image_page.py
@@ -48,8 +48,12 @@ class TestNewCustomImagePage(SeleniumTestCase):
48 self.recipe = Recipe.objects.create( 48 self.recipe = Recipe.objects.create(
49 name='core-image-minimal', 49 name='core-image-minimal',
50 layer_version=layer_version, 50 layer_version=layer_version,
51 file_path='/tmp/core-image-minimal.bb',
51 is_image=True 52 is_image=True
52 ) 53 )
54 # create a tmp file for the recipe
55 with open(self.recipe.file_path, 'w') as f:
56 f.write('foo')
53 57
54 # another project with a custom image already in it 58 # another project with a custom image already in it
55 project2 = Project.objects.create(name='whoop', release=release) 59 project2 = Project.objects.create(name='whoop', release=release)