summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/tests/browser/test_new_custom_image_page.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/toaster/tests/browser/test_new_custom_image_page.py')
-rw-r--r--bitbake/lib/toaster/tests/browser/test_new_custom_image_page.py3
1 files changed, 2 insertions, 1 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 8906cb27d9..ab5a8e66be 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
@@ -25,6 +25,7 @@ from tests.browser.selenium_helpers import SeleniumTestCase
25from orm.models import BitbakeVersion, Release, Project, ProjectLayer, Layer 25from orm.models import BitbakeVersion, Release, Project, ProjectLayer, Layer
26from orm.models import Layer_Version, Recipe, CustomImageRecipe 26from orm.models import Layer_Version, Recipe, CustomImageRecipe
27 27
28
28class TestNewCustomImagePage(SeleniumTestCase): 29class TestNewCustomImagePage(SeleniumTestCase):
29 CUSTOM_IMAGE_NAME = 'roopa-doopa' 30 CUSTOM_IMAGE_NAME = 'roopa-doopa'
30 31
@@ -140,7 +141,7 @@ class TestNewCustomImagePage(SeleniumTestCase):
140 self._create_custom_image(self.recipe.name) 141 self._create_custom_image(self.recipe.name)
141 element = self.wait_until_visible('#invalid-name-help') 142 element = self.wait_until_visible('#invalid-name-help')
142 self.assertRegexpMatches(element.text.strip(), 143 self.assertRegexpMatches(element.text.strip(),
143 'recipe with this name already exists') 144 'image with this name already exists')
144 145
145 def test_new_duplicates_project_image(self): 146 def test_new_duplicates_project_image(self):
146 """ 147 """