diff options
author | prathamesh | 2017-09-01 16:51:37 +0530 |
---|---|---|
committer | prathamesh | 2017-09-01 16:51:37 +0530 |
commit | e2c65655dcdc5558cfb4ab668c3012024d27ac75 (patch) | |
tree | 9ec6504e6bdc2f35f37260981ab584d1b9b3b9b4 /yaksh/models.py | |
parent | 3d9bce5471d04bf50e03155d3cd67bdae44a4fcc (diff) | |
download | online_test-e2c65655dcdc5558cfb4ab668c3012024d27ac75.tar.gz online_test-e2c65655dcdc5558cfb4ab668c3012024d27ac75.tar.bz2 online_test-e2c65655dcdc5558cfb4ab668c3012024d27ac75.zip |
Removed all the checkpoints set for selenium tests on travis
javascript strings includes method changed to indexOf, as includes
belongs to ES6. This was the main reason for failure of selenium tests
on travis.
Diffstat (limited to 'yaksh/models.py')
-rw-r--r-- | yaksh/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yaksh/models.py b/yaksh/models.py index 2aee435..9b3cabe 100644 --- a/yaksh/models.py +++ b/yaksh/models.py @@ -1329,7 +1329,7 @@ class AnswerPaper(models.Model): user_dir = self.user.profile.get_user_dir() url = 'http://localhost:%s' % SERVER_POOL_PORT submit(url, uid, json_data, user_dir) - result = {"uid": uid, "state": "running"} + result = {'uid': uid, 'state': 'running'} return result def regrade(self, question_id): |