summaryrefslogtreecommitdiff
path: root/yaksh/test_views.py
diff options
context:
space:
mode:
authormahesh2017-07-31 17:22:54 +0530
committermahesh2017-07-31 17:22:54 +0530
commit66e8f39bb390b3ec2547d82512349fabf67e3d7c (patch)
treeeebf8ed4a88672e53b6db60797586c1b63b43cb7 /yaksh/test_views.py
parentebc8a2af6d4fdf52a9703701a97a3abfaf66ed06 (diff)
downloadonline_test-66e8f39bb390b3ec2547d82512349fabf67e3d7c.tar.gz
online_test-66e8f39bb390b3ec2547d82512349fabf67e3d7c.tar.bz2
online_test-66e8f39bb390b3ec2547d82512349fabf67e3d7c.zip
Adds yaml serialization to download and upload questions
Diffstat (limited to 'yaksh/test_views.py')
-rw-r--r--yaksh/test_views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yaksh/test_views.py b/yaksh/test_views.py
index ef222e2..e5308fc 100644
--- a/yaksh/test_views.py
+++ b/yaksh/test_views.py
@@ -2983,7 +2983,7 @@ class TestShowQuestions(TestCase):
zip_file = string_io(response.content)
zipped_file = zipfile.ZipFile(zip_file, 'r')
self.assertIsNone(zipped_file.testzip())
- self.assertIn('questions_dump.json', zipped_file.namelist())
+ self.assertIn('questions_dump.yaml', zipped_file.namelist())
zip_file.close()
zipped_file.close()