Commit 336fc556 authored by Kirby Ezekiel Santos's avatar Kirby Ezekiel Santos

Added a test for checking if the orders list page returns the correct html template

parent 785b49c1
......@@ -45,3 +45,8 @@ class RecipesCreatePageTest(TestCase):
def test_recipes_create_page_returns_correct_html(self):
response = self.client.get('/recipes-create')
self.assertTemplateUsed(response, 'recipes_create_form.html')
class OrdersListPageTest(TestCase):
def test_orders_list_page_returns_correct_html(self):
response = self.client.get('/orders-list')
self.assertTemplateUsed(response, 'orders_list.html')
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