diff options
author | adityacp | 2020-11-03 15:03:10 +0530 |
---|---|---|
committer | adityacp | 2020-11-03 15:10:42 +0530 |
commit | 96c95dcdb543088008d8b202c1ecbb54f0ea1d45 (patch) | |
tree | bc9186c85a34b89c36c3800ca9998da2659f79eb /yaksh/test_views.py | |
parent | 602f88e334865c995d86a457acdca6cc43b354ef (diff) | |
parent | ff860034a56daa9229549c07d7bb74d479fdd6f7 (diff) | |
download | online_test-96c95dcdb543088008d8b202c1ecbb54f0ea1d45.tar.gz online_test-96c95dcdb543088008d8b202c1ecbb54f0ea1d45.tar.bz2 online_test-96c95dcdb543088008d8b202c1ecbb54f0ea1d45.zip |
Merge branch 'multiple_ui_fixes' of https://github.com/adityacp/online_test into multiple_ui_fixes
Diffstat (limited to 'yaksh/test_views.py')
-rw-r--r-- | yaksh/test_views.py | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/yaksh/test_views.py b/yaksh/test_views.py index e7bbd91..82f456e 100644 --- a/yaksh/test_views.py +++ b/yaksh/test_views.py @@ -6728,20 +6728,6 @@ class TestLessons(TestCase): self.assertEqual(response.status_code, 200) self.assertEqual(response.context["msg"], err_msg) - def test_preview_lesson_description(self): - """ Test preview lesson description converted from md to html""" - self.client.login( - username=self.teacher.username, - password=self.teacher_plaintext_pass - ) - lesson = json.dumps({'description': self.lesson.description}) - response = self.client.post( - reverse('yaksh:preview_html_text'), - data=lesson, content_type="application/json" - ) - self.assertEqual(response.status_code, 200) - self.assertEqual(response.json()['data'], '<p>test description</p>') - class TestPost(TestCase): def setUp(self): |