Commit f53755c5 authored by Lance Michael O. Co's avatar Lance Michael O. Co 😢

orders tests made

parent 7d638bae
...@@ -64,4 +64,33 @@ class RecipesCreateTest(TestCase): ...@@ -64,4 +64,33 @@ class RecipesCreateTest(TestCase):
def test_uses_list_template(self): def test_uses_list_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')
\ No newline at end of file
#orders test
class OrdersListTest(TestCase):
def test_uses_list_template(self):
response = self.client.get('/orders/list')
self.assertTemplateUsed(response, 'orders_list.html')
class OrdersDetailTest(TestCase):
def test_uses_list_template(self):
response = self.client.get('/orders/detail')
self.assertTemplateUsed(response, 'orders_detail.html')
class OrdersUpdateTest(TestCase):
def test_uses_list_template(self):
response = self.client.get('/orders/update')
self.assertTemplateUsed(response, 'orders_create_form.html')
class OrdersCreateTest(TestCase):
def test_uses_list_template(self):
response = self.client.get('/orders/create')
self.assertTemplateUsed(response, 'orders_create_form.html')
\ 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