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

orders tests made

parent 7d638bae
......@@ -65,3 +65,32 @@ class RecipesCreateTest(TestCase):
def test_uses_list_template(self):
response = self.client.get('/recipes/create')
self.assertTemplateUsed(response, 'recipes_create_form.html')
#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