summaryrefslogtreecommitdiff
path: root/yaksh/live_server_tests/selenium_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'yaksh/live_server_tests/selenium_test.py')
-rw-r--r--yaksh/live_server_tests/selenium_test.py8
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(