Commit 06025bc7 authored by Kirby Ezekiel Santos's avatar Kirby Ezekiel Santos

Added a test for checking if the order create page returns the correct html template

parent b99bddc0
......@@ -60,3 +60,8 @@ class OrdersUpdatePageTest(TestCase):
def test_orders_update_page_returns_correct_html(self):
response = self.client.get('/orders-update')
self.assertTemplateUsed(response, 'orders_update_form.html')
class OrdersCreatePageTest(TestCase):
def test_orders_create_page_returns_correct_html(self):
response = self.client.get('/orders-create')
self.assertTemplateUsed(response, 'orders_create_form.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