Commit 5a4ab86e authored by Kirby Ezekiel Santos's avatar Kirby Ezekiel Santos

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

parent eb35fbe2
......@@ -50,3 +50,8 @@ class OrdersListPageTest(TestCase):
def test_orders_list_page_returns_correct_html(self):
response = self.client.get('/orders-list')
self.assertTemplateUsed(response, 'orders_list.html')
class OrdersDetailPageTest(TestCase):
def test_orders_detail_page_returns_correct_html(self):
response = self.client.get('/orders-detail')
self.assertTemplateUsed(response, 'orders_detail.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