Commit b97dbc37 by Vik Paruchuri

Fix test, strip out more of show results

parent a49da5d5
...@@ -93,7 +93,6 @@ class @CombinedOpenEnded ...@@ -93,7 +93,6 @@ class @CombinedOpenEnded
coe_sel: 'section.combined-open-ended' coe_sel: 'section.combined-open-ended'
reset_button_sel: '.reset-button' reset_button_sel: '.reset-button'
next_step_sel: '.next-step-button' next_step_sel: '.next-step-button'
show_results_sel: '.show-results-button'
question_header_sel: '.question-header' question_header_sel: '.question-header'
submit_evaluation_sel: '.submit-evaluation-button' submit_evaluation_sel: '.submit-evaluation-button'
result_container_sel: 'div.result-container' result_container_sel: 'div.result-container'
...@@ -160,10 +159,6 @@ class @CombinedOpenEnded ...@@ -160,10 +159,6 @@ class @CombinedOpenEnded
@next_problem_button = @$(@next_step_sel) @next_problem_button = @$(@next_step_sel)
@next_problem_button.click @next_problem @next_problem_button.click @next_problem
#setup show results
@show_results_button=@$(@show_results_sel)
@show_results_button.click @show_results
@question_header = @$(@question_header_sel) @question_header = @$(@question_header_sel)
@question_header.click @collapse_question @question_header.click @collapse_question
......
...@@ -636,7 +636,7 @@ class OpenEndedModuleXmlTest(unittest.TestCase, DummyModulestore): ...@@ -636,7 +636,7 @@ class OpenEndedModuleXmlTest(unittest.TestCase, DummyModulestore):
self.assertTrue(isinstance(legend, basestring)) self.assertTrue(isinstance(legend, basestring))
#Get all results #Get all results
module.handle_ajax("get_results", {}) module.handle_ajax("get_combined_rubric", {})
#reset the problem #reset the problem
module.handle_ajax("reset", {}) module.handle_ajax("reset", {})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment