summaryrefslogtreecommitdiff
path: root/yaksh/test_models.py
diff options
context:
space:
mode:
authormahesh2017-08-16 18:28:26 +0530
committermahesh2017-08-16 22:40:41 +0530
commit67f3119a2e27673694db907d21f501bc8247fce1 (patch)
treeeaea007df8f9b99cca4d0b2fbedd91e15e2ff161 /yaksh/test_models.py
parenta116370a56ccfb43cbd97e7588e0d0a6a19453d8 (diff)
downloadonline_test-67f3119a2e27673694db907d21f501bc8247fce1.tar.gz
online_test-67f3119a2e27673694db907d21f501bc8247fce1.tar.bz2
online_test-67f3119a2e27673694db907d21f501bc8247fce1.zip
Adds ruamel.yaml instead of pyyaml
- Preserves escape characters - Adds ruamel.yaml in requirements
Diffstat (limited to 'yaksh/test_models.py')
-rw-r--r--yaksh/test_models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yaksh/test_models.py b/yaksh/test_models.py
index 8dc3244..d5ac394 100644
--- a/yaksh/test_models.py
+++ b/yaksh/test_models.py
@@ -3,7 +3,7 @@ from yaksh.models import User, Profile, Question, Quiz, QuestionPaper,\
QuestionSet, AnswerPaper, Answer, Course, StandardTestCase,\
StdIOBasedTestCase, FileUpload, McqTestCase, AssignmentUpload
import json
-import yaml
+import ruamel.yaml as yaml
from datetime import datetime, timedelta
from django.utils import timezone
import pytz