Commit 1bc375f4 authored by KY-2187's avatar KY-2187

fixed typos

parent bb185b66
from django.conf.urls import urls from django.conf.urls import url
from .views import IngredientsListView, IngredientsDetailView, IngredientsUpdateView, IngredientsCreateView, RecipesListView, RecipesDetailView, RecipesUpdateView, RecipesCreateView, OrdersListView, OrdersDetailView, OrdersUpdateView, OrdersCreateView from .views import IngredientsListView, IngredientsDetailView, IngredientsUpdateView, IngredientsCreateView, RecipesListView, RecipesDetailView, RecipesUpdateView, RecipesCreateView, OrdersListView, OrdersDetailView, OrdersUpdateView, OrdersCreateView
......
...@@ -15,84 +15,84 @@ class NewVisitorTest(unittest.TestCase): ...@@ -15,84 +15,84 @@ class NewVisitorTest(unittest.TestCase):
self.assertIn('Ingredients - List', self.browser.title) self.assertIn('Ingredients - List', self.browser.title)
self.assertIn(self.browser.current_url,'https://localhost:8000/ingredients_list') self.assertIn(self.browser.current_url,'http://localhost:8000/ingredients_list')
def test_displays_ingredients_detail(self): def test_displays_ingredients_detail(self):
self.browser.get('http://localhost:8000/ingredients_detail') self.browser.get('http://localhost:8000/ingredients_detail')
self.assertIn('Ingredients - Detail', self.browser.title) self.assertIn('Ingredients - Detail', self.browser.title)
self.assertIn(self.browser.current_url,'https://localhost:8000/ingredients_detail') self.assertIn(self.browser.current_url,'http://localhost:8000/ingredients_detail')
def test_displays_ingredients_update(self): def test_displays_ingredients_update(self):
self.browser.get('http://localhost:8000/ingredients_update') self.browser.get('http://localhost:8000/ingredients_update')
self.assertIn('Ingredients - Update', self.browser.title) self.assertIn('Ingredients - Update', self.browser.title)
self.assertIn(self.browser.current_url,'https://localhost:8000/ingredients_update') self.assertIn(self.browser.current_url,'http://localhost:8000/ingredients_update')
def test_displays_ingredients_create(self): def test_displays_ingredients_create(self):
self.browser.get('http://localhost:8000/ingredients_create') self.browser.get('http://localhost:8000/ingredients_create')
self.assertIn('Ingredients - Detail', self.browser.title) self.assertIn('Ingredients - Create', self.browser.title)
self.assertIn(self.browser.current_url,'https://localhost:8000/ingredients_create') self.assertIn(self.browser.current_url,'http://localhost:8000/ingredients_create')
def test_displays_recipes_list(self): def test_displays_recipes_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)
self.assertIn(self.browser.current_url,'https://localhost:8000/recipes_list') self.assertIn(self.browser.current_url,'http://localhost:8000/recipes_list')
def test_displays_recipes_detail(self): def test_displays_recipes_detail(self):
self.browser.get('http://localhost:8000/recipes_detail') self.browser.get('http://localhost:8000/recipes_detail')
self.assertIn('Recipes - Detail', self.browser.title) self.assertIn('Recipes - Detail', self.browser.title)
self.assertIn(self.browser.current_url,'https://localhost:8000/recipes_detail') self.assertIn(self.browser.current_url,'http://localhost:8000/recipes_detail')
def test_displays_recipes_update(self): def test_displays_recipes_update(self):
self.browser.get('http://localhost:8000/recipes_update') self.browser.get('http://localhost:8000/recipes_update')
self.assertIn('Recipes - Update', self.browser.title) self.assertIn('Recipes - Update', self.browser.title)
self.assertIn(self.browser.current_url,'https://localhost:8000/recipes_update') self.assertIn(self.browser.current_url,'http://localhost:8000/recipes_update')
def test_displays_recipes_create(self): def test_displays_recipes_create(self):
self.browser.get('http://localhost:8000/recipes_create') self.browser.get('http://localhost:8000/recipes_create')
self.assertIn('Recipes - Create', self.browser.title) self.assertIn('Recipes - Create', self.browser.title)
self.assertIn(self.browser.current_url,'https://localhost:8000/recipes_create') self.assertIn(self.browser.current_url,'http://localhost:8000/recipes_create')
def test_displays_orders_list(self): def test_displays_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)
self.assertIn(self.browser.current_url,'https://localhost:8000/orders_list') self.assertIn(self.browser.current_url,'http://localhost:8000/orders_list')
def test_displays_orders_detail(self): def test_displays_orders_detail(self):
self.browser.get('http://localhost:8000/orders_detail') self.browser.get('http://localhost:8000/orders_detail')
self.assertIn('Orders - Detail', self.browser.title) self.assertIn('Orders - Detail', self.browser.title)
self.assertIn(self.browser.current_url,'https://localhost:8000/orders_detail') self.assertIn(self.browser.current_url,'http://localhost:8000/orders_detail')
def test_displays_orders_update(self): def test_displays_orders_update(self):
self.browser.get('http://localhost:8000/orders_update') self.browser.get('http://localhost:8000/orders_update')
self.assertIn('Orders - Update', self.browser.title) self.assertIn('Orders - Update', self.browser.title)
self.assertIn(self.browser.current_url,'https://localhost:8000/orders_update') self.assertIn(self.browser.current_url,'http://localhost:8000/orders_update')
def test_displays_orders_create(self): def test_displays_orders_create(self):
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)
self.assertIn(self.browser.current_url,'https://localhost:8000/orders_create') self.assertIn(self.browser.current_url,'http://localhost:8000/orders_create')
self.fail('Finish the test!') self.fail('Finish the test!')
......
This diff is collapsed.
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