7.0 Small Design When Necessary
parent
8cdc3ec319
commit
5c57b306bd
|
@ -22,7 +22,7 @@ class NewVisitorTest(LiveServerTestCase):
|
|||
try:
|
||||
table = self.browser.find_element_by_id('id_list_table')
|
||||
rows = table.find_elements_by_tag_name('tr')
|
||||
self.assertIn('foo', [row.text for row in rows])
|
||||
self.assertIn(row_text, [row.text for row in rows])
|
||||
return
|
||||
except (AssertionError, WebDriverException) as e:
|
||||
if time.time() - start_time > MAX_WAIT:
|
||||
|
@ -68,6 +68,7 @@ class NewVisitorTest(LiveServerTestCase):
|
|||
# Edith wonders whether the site will remember her list. Then she sees
|
||||
# that the site has generated a unique URL for her -- there is some
|
||||
# explanatory text to that effect.
|
||||
self.fail('Finish the test!')
|
||||
|
||||
# She visits that URL - her to-do list is still there.
|
||||
|
||||
|
|
Loading…
Reference in New Issue