summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/toaster/tests/browser/test_layerdetails_page.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/bitbake/lib/toaster/tests/browser/test_layerdetails_page.py b/bitbake/lib/toaster/tests/browser/test_layerdetails_page.py
index 0005192b15..2fa9672673 100644
--- a/bitbake/lib/toaster/tests/browser/test_layerdetails_page.py
+++ b/bitbake/lib/toaster/tests/browser/test_layerdetails_page.py
@@ -113,8 +113,8 @@ class TestLayerDetailsPage(SeleniumTestCase):
113 new_values = ["%s-edited" % old_val 113 new_values = ["%s-edited" % old_val
114 for old_val in self.initial_values] 114 for old_val in self.initial_values]
115 115
116 for inputs in self.find_all("dd input[type=text]") + \ 116 for inputs in self.find_all('dd input[type="text"]') + \
117 self.find_all("dd textarea"): 117 self.find_all('dd textarea'):
118 # ignore the tt inputs (twitter typeahead input) 118 # ignore the tt inputs (twitter typeahead input)
119 if "tt-" in inputs.get_attribute("class"): 119 if "tt-" in inputs.get_attribute("class"):
120 continue 120 continue
@@ -122,8 +122,8 @@ class TestLayerDetailsPage(SeleniumTestCase):
122 value = inputs.get_attribute("value") 122 value = inputs.get_attribute("value")
123 123
124 self.assertTrue(value in new_values, 124 self.assertTrue(value in new_values,
125 "Expecting any of \"%s\"but got \"%s\"" % 125 "Expecting any of \"%s\" but got \"%s\"" %
126 (self.initial_values, value)) 126 (new_values, value))
127 127
128 def test_delete_layer(self): 128 def test_delete_layer(self):
129 """ Delete the layer """ 129 """ Delete the layer """