summaryrefslogtreecommitdiff
path: root/yaksh/test_views.py
diff options
context:
space:
mode:
authoradityacp2020-04-12 10:54:54 +0530
committeradityacp2020-04-12 10:54:54 +0530
commit9b7c8c7f6eb3e93f1bc28d118da165a7c600cbb3 (patch)
treeb4d85eb827566ee767bff9529978e5b01c6b2d9e /yaksh/test_views.py
parent9cc5865251e896a6be54669ddc4c53c70eaef5ac (diff)
downloadonline_test-9b7c8c7f6eb3e93f1bc28d118da165a7c600cbb3.tar.gz
online_test-9b7c8c7f6eb3e93f1bc28d118da165a7c600cbb3.tar.bz2
online_test-9b7c8c7f6eb3e93f1bc28d118da165a7c600cbb3.zip
Fix search courses
Diffstat (limited to 'yaksh/test_views.py')
-rw-r--r--yaksh/test_views.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/yaksh/test_views.py b/yaksh/test_views.py
index 29a8542..ef7c52f 100644
--- a/yaksh/test_views.py
+++ b/yaksh/test_views.py
@@ -2367,9 +2367,9 @@ class TestSearchFilters(TestCase):
username=self.user1.username,
password=self.user1_plaintext_pass
)
- response = self.client.post(
+ response = self.client.get(
reverse('yaksh:courses'),
- data={'course_tags': 'demo', 'course_status': 'active'}
+ data={'search_tags': 'demo', 'search_status': 'active'}
)
self.assertEqual(response.status_code, 200)
self.assertTemplateUsed(response, 'yaksh/courses.html')