@@ -12,7 +13,7 @@ class NewVisitorTest(unittest.TestCase):
self.browser.quit()
deftest_can_add_orders(self):
# Wishing to have a look at all the available options, our employee goes to the home page.
# Our employee goes to the home page.
self.browser.get('http://localhost:8000/')
# He looks at the page title to double check.
...
...
@@ -28,7 +29,8 @@ class NewVisitorTest(unittest.TestCase):
self.browser.current_url
)
# He sees several links and click the corresponding ones that would allow him to create and update. He is returned to the orders page after each success.
# He sees several links; he clicks create then update.
# He is returned to the orders page after each success.
@@ -73,7 +75,7 @@ class NewVisitorTest(unittest.TestCase):
self.browser.current_url
)
defcan_add_ingredients(self):
deftest_can_add_ingredients(self):
# Noticing a deficiency in ingredients, the employee goes to add more.
self.browser.get('http://localhost:8000/')
...
...
@@ -87,7 +89,8 @@ class NewVisitorTest(unittest.TestCase):
self.browser.current_url
)
# He sees several links and click the corresponding ones that would allow him to create and update. He is returned to the orders page after each success.
# He sees several links; he clicks create then update.
# He is returned to the orders page after each success.
@@ -132,7 +135,7 @@ class NewVisitorTest(unittest.TestCase):
self.browser.current_url
)
defcan_add_recipes(self):
deftest_can_add_recipes(self):
# Having come up with a new idea, the employee goes to add his favourite recipe.
self.browser.get('http://localhost:8000/')
...
...
@@ -146,7 +149,8 @@ class NewVisitorTest(unittest.TestCase):
self.browser.current_url
)
# He sees several links and click the corresponding ones that would allow him to create and update. He is returned to the orders page after each success.
# He sees several links; he clicks create then update.
# He is returned to the orders page after each success.