diff options
author | maheshgudi | 2018-07-13 16:48:21 +0530 |
---|---|---|
committer | maheshgudi | 2018-07-13 16:48:21 +0530 |
commit | 590dc4a5e99fc1f72287d13e5ce25d1506b4e518 (patch) | |
tree | 67018aefddc6cd215c1f8f4fce6741dc8b625bfa /yaksh/live_server_tests/selenium_test.py | |
parent | f3ed3db3f707e358694eee837cde6e7dd8edb241 (diff) | |
download | online_test-590dc4a5e99fc1f72287d13e5ce25d1506b4e518.tar.gz online_test-590dc4a5e99fc1f72287d13e5ce25d1506b4e518.tar.bz2 online_test-590dc4a5e99fc1f72287d13e5ce25d1506b4e518.zip |
Fix unit and selenium tests for simple questions
Diffstat (limited to 'yaksh/live_server_tests/selenium_test.py')
-rw-r--r-- | yaksh/live_server_tests/selenium_test.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/yaksh/live_server_tests/selenium_test.py b/yaksh/live_server_tests/selenium_test.py index 6351f9e..a067f22 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\\ncat $1 | cut -d: -f2 | paste -d: $3 - $2\"' + answer = '\"#!/bin/bash\\necho "Hello, World!"\"' self.submit_answer(question_label, answer, loop_count) def open_quiz(self): @@ -135,9 +135,9 @@ class SeleniumTest(): ) start_exam_elem.click() - self.test_c_question(question_label=7) - self.test_python_question(question_label=5) - self.test_bash_question(question_label=4) + self.test_c_question(question_label=6) + self.test_python_question(question_label=4) + self.test_bash_question(question_label=10) def quit_quiz(self): quit_link_elem = WebDriverWait(self.driver, 5).until( |