Commit 5d77ac55 authored by Li Niko M. Arceo's avatar Li Niko M. Arceo 🦈

All the tests are good already

parent b7f66b5c
...@@ -7,76 +7,76 @@ class HomePageTest(TestCase): ...@@ -7,76 +7,76 @@ class HomePageTest(TestCase):
self.assertTemplateUsed(response,'home.html') self.assertTemplateUsed(response,'home.html')
#ingredients tests #ingredients tests
#class IngredientsListTest(TestCase): class IngredientsListTest(TestCase):
# def test_uses_ingredients_list_template(self): def test_uses_ingredients_list_template(self):
# response = self.client.get('/ingredients/list') response = self.client.get('/ingredients/list')
# self.assertTemplateUsed(response,'ingredients_list.html') self.assertTemplateUsed(response,'ingredients_list.html')
#class IngredientsDetailTest(TestCase): class IngredientsDetailTest(TestCase):
# def test_uses_ingredients_detail_template(self): def test_uses_ingredients_detail_template(self):
# response = self.client.get('/ingredients/detail') response = self.client.get('/ingredients/detail')
# self.assertTemplateUsed(response,'ingredients_detail.html') self.assertTemplateUsed(response,'ingredients_detail.html')
#class IngredientsUpdateTest(TestCase): class IngredientsUpdateTest(TestCase):
# def test_uses_ingredients_update_template(self): def test_uses_ingredients_update_template(self):
# response = self.client.get('/ingredients/update') response = self.client.get('/ingredients/update')
# self.assertTemplateUsed(response,'ingredients_update_form.html') self.assertTemplateUsed(response,'ingredients_update_form.html')
#class IngredientsCreateTest(TestCase): class IngredientsCreateTest(TestCase):
# def test_uses_ingredients_create_template(self): def test_uses_ingredients_create_template(self):
# response = self.client.get('/ingredients/create') response = self.client.get('/ingredients/create')
# self.assertTemplateUsed(response,'ingredients_create_form.html') self.assertTemplateUsed(response,'ingredients_create_form.html')
#recipes tests #recipes tests
#class RecipesListTest(TestCase): class RecipesListTest(TestCase):
# def test_uses_recipes_list_template(self): def test_uses_recipes_list_template(self):
# response = self.client.get('/recipes/list') response = self.client.get('/recipes/list')
# self.assertTemplateUsed(response,'recipes_list.html') self.assertTemplateUsed(response,'recipes_list.html')
#class RecipesDetailTest(TestCase): class RecipesDetailTest(TestCase):
# def test_uses_recipes_detail_template(self): def test_uses_recipes_detail_template(self):
# response = self.client.get('/recipes/detail') response = self.client.get('/recipes/detail')
# self.assertTemplateUsed(response,'recipes_detail.html') self.assertTemplateUsed(response,'recipes_detail.html')
#class RecipesUpdateTest(TestCase): class RecipesUpdateTest(TestCase):
# def test_uses_recipes_update_template(self): def test_uses_recipes_update_template(self):
# response = self.client.get('/recipes/update') response = self.client.get('/recipes/update')
# self.assertTemplateUsed(response,'recipes_update_form.html') self.assertTemplateUsed(response,'recipes_update_form.html')
#class RecipesCreateTest(TestCase): class RecipesCreateTest(TestCase):
# def test_uses_recipes_create_template(self): def test_uses_recipes_create_template(self):
# response = self.client.get('/recipes/create') response = self.client.get('/recipes/create')
# self.assertTemplateUsed(response,'recipes_create_form.html') self.assertTemplateUsed(response,'recipes_create_form.html')
#orders tests #orders tests
#class OrdersListTest(TestCase): class OrdersListTest(TestCase):
# def test_uses_orders_list_template(self): def test_uses_orders_list_template(self):
# response = self.client.get('/orders/list') response = self.client.get('/orders/list')
# self.assertTemplateUsed(response,'orders_list.html') self.assertTemplateUsed(response,'orders_list.html')
#class OrdersDetailTest(TestCase): class OrdersDetailTest(TestCase):
# def test_uses_orders_detail_template(self): def test_uses_orders_detail_template(self):
# response = self.client.get('/orders/detail') response = self.client.get('/orders/detail')
# self.assertTemplateUsed(response,'orders_detail.html') self.assertTemplateUsed(response,'orders_detail.html')
#class OrdersUpdateTest(TestCase): class OrdersUpdateTest(TestCase):
# def test_uses_orders_update_template(self): def test_uses_orders_update_template(self):
# response = self.client.get('/orders/update') response = self.client.get('/orders/update')
# self.assertTemplateUsed(response,'orders_update_form.html') self.assertTemplateUsed(response,'orders_update_form.html')
#class OrdersCreateTest(TestCase): class OrdersCreateTest(TestCase):
# def test_uses_orders_create_template(self): def test_uses_orders_create_template(self):
# response = self.client.get('/orders/create') response = self.client.get('/orders/create')
# self.assertTemplateUsed(response,'orders_create_form.html') self.assertTemplateUsed(response,'orders_create_form.html')
\ No newline at end of file \ No newline at end of file
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