diff --git a/src/functional_tests.py b/src/functional_tests.py index eb76b4a..328aeb1 100644 --- a/src/functional_tests.py +++ b/src/functional_tests.py @@ -39,7 +39,8 @@ class NewVisitorTest(unittest.TestCase): table = self.browser.find_element_by_id('id_list_table') rows = table.find_element_by_tag_name('tr') self.assertTrue( - any(row.text == '1: Buy peacock feathers' for row in rows) + any(row.text == '1: Buy peacock feathers' for row in rows), + "New to-do item did not appear in table" ) # There is still a text box inviting her to add another item. She diff --git a/src/lists/templates/home.html b/src/lists/templates/home.html index 94d4105..4a51ff3 100644 --- a/src/lists/templates/home.html +++ b/src/lists/templates/home.html @@ -1,3 +1,9 @@ -