diff options
author | King | 2018-07-13 05:13:04 -0700 |
---|---|---|
committer | GitHub | 2018-07-13 05:13:04 -0700 |
commit | a9e36d0ba393bc709c8bd61b133170e9506aa510 (patch) | |
tree | 710c21594258dff7cfaa22e3ec39191855c2d9a8 /yaksh/live_server_tests | |
parent | f0f4a882a796319f766ff67cd3f8133a04054dfd (diff) | |
parent | 4346684d4ed863e5628697ccebe92bbe85fb77a4 (diff) | |
download | online_test-a9e36d0ba393bc709c8bd61b133170e9506aa510.tar.gz online_test-a9e36d0ba393bc709c8bd61b133170e9506aa510.tar.bz2 online_test-a9e36d0ba393bc709c8bd61b133170e9506aa510.zip |
Merge pull request #498 from maheshgudi/release-0.9v0.9.0
release v0.9
Diffstat (limited to 'yaksh/live_server_tests')
-rw-r--r-- | yaksh/live_server_tests/selenium_test.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/yaksh/live_server_tests/selenium_test.py b/yaksh/live_server_tests/selenium_test.py index 6351f9e..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\\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( @@ -172,6 +172,7 @@ def wrap_run_load_test(args): selenium_test = SeleniumTest(url=url, quiz_name=quiz_name) return selenium_test.run_load_test(*args) + if __name__ == '__main__': parser = argparse.ArgumentParser() parser.add_argument( |