summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/tests/browser/test_all_builds_page.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/toaster/tests/browser/test_all_builds_page.py')
-rw-r--r--bitbake/lib/toaster/tests/browser/test_all_builds_page.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/bitbake/lib/toaster/tests/browser/test_all_builds_page.py b/bitbake/lib/toaster/tests/browser/test_all_builds_page.py
index 228a62be7d..bfd8f3a439 100644
--- a/bitbake/lib/toaster/tests/browser/test_all_builds_page.py
+++ b/bitbake/lib/toaster/tests/browser/test_all_builds_page.py
@@ -259,25 +259,25 @@ class TestAllBuildsPage(SeleniumTestCase):
259 element = self._get_build_time_element(build1) 259 element = self._get_build_time_element(build1)
260 links = element.find_elements(By.CSS_SELECTOR, 'a') 260 links = element.find_elements(By.CSS_SELECTOR, 'a')
261 msg = 'should be a link on the build time for a successful recent build' 261 msg = 'should be a link on the build time for a successful recent build'
262 self.assertEquals(len(links), 1, msg) 262 self.assertEqual(len(links), 1, msg)
263 263
264 # test recent builds area for failed build 264 # test recent builds area for failed build
265 element = self._get_build_time_element(build2) 265 element = self._get_build_time_element(build2)
266 links = element.find_elements(By.CSS_SELECTOR, 'a') 266 links = element.find_elements(By.CSS_SELECTOR, 'a')
267 msg = 'should not be a link on the build time for a failed recent build' 267 msg = 'should not be a link on the build time for a failed recent build'
268 self.assertEquals(len(links), 0, msg) 268 self.assertEqual(len(links), 0, msg)
269 269
270 # test the time column for successful build 270 # test the time column for successful build
271 build1_row = self._get_row_for_build(build1) 271 build1_row = self._get_row_for_build(build1)
272 links = build1_row.find_elements(By.CSS_SELECTOR, 'td.time a') 272 links = build1_row.find_elements(By.CSS_SELECTOR, 'td.time a')
273 msg = 'should be a link on the build time for a successful build' 273 msg = 'should be a link on the build time for a successful build'
274 self.assertEquals(len(links), 1, msg) 274 self.assertEqual(len(links), 1, msg)
275 275
276 # test the time column for failed build 276 # test the time column for failed build
277 build2_row = self._get_row_for_build(build2) 277 build2_row = self._get_row_for_build(build2)
278 links = build2_row.find_elements(By.CSS_SELECTOR, 'td.time a') 278 links = build2_row.find_elements(By.CSS_SELECTOR, 'td.time a')
279 msg = 'should not be a link on the build time for a failed build' 279 msg = 'should not be a link on the build time for a failed build'
280 self.assertEquals(len(links), 0, msg) 280 self.assertEqual(len(links), 0, msg)
281 281
282 def test_builds_table_search_box(self): 282 def test_builds_table_search_box(self):
283 """ Test the search box in the builds table on the all builds page """ 283 """ Test the search box in the builds table on the all builds page """