summaryrefslogtreecommitdiff
path: root/yaksh
diff options
context:
space:
mode:
authorprathamesh2018-07-13 17:26:15 +0530
committerprathamesh2018-07-13 18:28:32 +0530
commit227f4bbe02e11e2a56d0858dd4683f336d69d40b (patch)
treed1e235be28693a573ff90effcc47a09a2d3e7f7f /yaksh
parent5dce610047070dabb1ae69b1acce4ab090d4be47 (diff)
downloadonline_test-227f4bbe02e11e2a56d0858dd4683f336d69d40b.tar.gz
online_test-227f4bbe02e11e2a56d0858dd4683f336d69d40b.tar.bz2
online_test-227f4bbe02e11e2a56d0858dd4683f336d69d40b.zip
Fix minor issue in selenium
Diffstat (limited to 'yaksh')
-rw-r--r--yaksh/fixtures/demo_fixtures.json3
-rw-r--r--yaksh/live_server_tests/selenium_test.py2
2 files changed, 3 insertions, 2 deletions
diff --git a/yaksh/fixtures/demo_fixtures.json b/yaksh/fixtures/demo_fixtures.json
index 779d4f9..5de2fbc 100644
--- a/yaksh/fixtures/demo_fixtures.json
+++ b/yaksh/fixtures/demo_fixtures.json
@@ -145,7 +145,8 @@
"institute": "Demo",
"department": "Demo",
"position": "Faculty",
- "timezone": "UTC"
+ "timezone": "UTC",
+ "is_moderator": true
}
},
{
diff --git a/yaksh/live_server_tests/selenium_test.py b/yaksh/live_server_tests/selenium_test.py
index 229902c..5bf1988 100644
--- a/yaksh/live_server_tests/selenium_test.py
+++ b/yaksh/live_server_tests/selenium_test.py
@@ -118,7 +118,7 @@ class SeleniumTest():
# Correct Answer
loop_count = 1
- answer = '\"#!/bin/bash\\necho "Hello, World!"\"'
+ answer = '\"#!/bin/bash\\necho Hello, World!\"'
self.submit_answer(question_label, answer, loop_count)
def open_quiz(self):