Commit e694b153 authored by Keith Adrian Santos's avatar Keith Adrian Santos

added the orders tests in functional_test.py and they dont' work thus we know what to add na

parent 947e514d
...@@ -50,6 +50,19 @@ class NewVisitorTest(unittest.TestCase): ...@@ -50,6 +50,19 @@ class NewVisitorTest(unittest.TestCase):
self.browser.get('http://localhost:8000/orders/create') self.browser.get('http://localhost:8000/orders/create')
self.assertIn('Orders - Create', self.browser.title) self.assertIn('Orders - Create', self.browser.title)
#Recipes Subpages
self.browser.get('http://localhost:8000/recipes/list')
self.assertIn('Recipes - List', self.browser.title)
self.browser.get('http://localhost:8000/recipes/detail')
self.assertIn('Recipes - Detail', self.browser.title)
self.browser.get('http://localhost:8000/recipes/update')
self.assertIn('Recipes - Update', self.browser.title)
self.browser.get('http://localhost:8000/recipes/create')
self.assertIn('Recipes - Create', self.browser.title)
self.fail('Finish the Test') self.fail('Finish the Test')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment