diff --git a/functional_tests.py b/functional_tests.py index 958e2af..e09c241 100644 --- a/functional_tests.py +++ b/functional_tests.py @@ -36,7 +36,10 @@ class NewVisitorTest(unittest.TestCase): table = self.browser.find_element(By.ID, "id_list_table") rows = table.find_elements(By.TAG_NAME, "tr") - self.assertTrue(any(row.text == "1: Buy peacock feathers" for row in rows)) + self.assertTrue( + 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 him to add another item. # He enters "Use peacock feathers to make a fly" (Ig is very methodical) diff --git a/lists/templates/home.html b/lists/templates/home.html index 455c66a..3a9209d 100644 --- a/lists/templates/home.html +++ b/lists/templates/home.html @@ -1,3 +1,12 @@ -