Commit 3e55ef48 authored by Daniel W Bond's avatar Daniel W Bond

added test for searchview

parent 67dc7ca2
......@@ -119,3 +119,11 @@ class DeleteConfirmationTest(ConfirmationViewTest):
kwargs={'confirmer_slug': 'gmason',
'student_slug': 'tjefferson'}))
self.assertEqual(response.status_code, 200)
class SearchViewTest(RoomlistViewTest):
def test_search_ok(self):
client = self.client_login()
response = client.get(reverse('search'))
self.assertEqual(response.status_code, 200)
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