Commented out lines that are not needed

parent 55b05610
...@@ -15,11 +15,11 @@ class NewVisitorTest(unittest.TestCase): ...@@ -15,11 +15,11 @@ class NewVisitorTest(unittest.TestCase):
def test_can_start_and_retrieve_ingredient_list(self): def test_can_start_and_retrieve_ingredient_list(self):
self.browser.get('http://localhost:8000/ingredients/list') self.browser.get('http://localhost:8000/ingredients/list')
self.assertIn('Ingredients - List', self.browser.title) self.assertIn('Ingredients - List', self.browser.title)
ingredients_list = self.browser.find_element_by_id('ingredients_list') #ingredients_list = self.browser.find_element_by_id('ingredients_list')
self.assertEqual( #self.assertEqual(
'ul', # 'ul',
ingredients_list.tag_name # ingredients_list.tag_name
) #)
def test_can_display_ingredients_detail(self): def test_can_display_ingredients_detail(self):
self.browser.get('http://localhost:8000/ingredients/detail') self.browser.get('http://localhost:8000/ingredients/detail')
...@@ -40,11 +40,11 @@ class NewVisitorTest(unittest.TestCase): ...@@ -40,11 +40,11 @@ class NewVisitorTest(unittest.TestCase):
def test_can_start_and_retrieve_recipe_list(self): def test_can_start_and_retrieve_recipe_list(self):
self.browser.get('http://localhost:8000/recipes/list') self.browser.get('http://localhost:8000/recipes/list')
self.assertIn('Recipes - List', self.browser.title) self.assertIn('Recipes - List', self.browser.title)
recipes_list = self.browser.find_element_by_id('recipes_list') #recipes_list = self.browser.find_element_by_id('recipes_list')
self.assertEqual( #self.assertEqual(
'ul', # 'ul',
recipes_list.tag_name # recipes_list.tag_name
) #)
def test_can_display_recipes_detail(self): def test_can_display_recipes_detail(self):
self.browser.get('http://localhost:8000/recipes/detail') self.browser.get('http://localhost:8000/recipes/detail')
...@@ -66,11 +66,11 @@ class NewVisitorTest(unittest.TestCase): ...@@ -66,11 +66,11 @@ class NewVisitorTest(unittest.TestCase):
def test_can_start_and_retrieve_orders_list(self): def test_can_start_and_retrieve_orders_list(self):
self.browser.get('http://localhost:8000/orders/list') self.browser.get('http://localhost:8000/orders/list')
self.assertIn('Orders - List', self.browser.title) self.assertIn('Orders - List', self.browser.title)
recipes_list = self.browser.find_element_by_id('orders_list') #orders_list = self.browser.find_element_by_id('orders_list')
self.assertEqual( #self.assertEqual(
'ul', # 'ul',
orders_list.tag_name # orders_list.tag_name
) #)
def test_can_display_orders_detail(self): def test_can_display_orders_detail(self):
self.browser.get('http://localhost:8000/orders/detail') self.browser.get('http://localhost:8000/orders/detail')
......
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