Fix test, strip out more of show results
This commit is contained in:
@@ -93,7 +93,6 @@ class @CombinedOpenEnded
|
||||
coe_sel: 'section.combined-open-ended'
|
||||
reset_button_sel: '.reset-button'
|
||||
next_step_sel: '.next-step-button'
|
||||
show_results_sel: '.show-results-button'
|
||||
question_header_sel: '.question-header'
|
||||
submit_evaluation_sel: '.submit-evaluation-button'
|
||||
result_container_sel: 'div.result-container'
|
||||
@@ -160,10 +159,6 @@ class @CombinedOpenEnded
|
||||
@next_problem_button = @$(@next_step_sel)
|
||||
@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.click @collapse_question
|
||||
|
||||
|
||||
@@ -636,7 +636,7 @@ class OpenEndedModuleXmlTest(unittest.TestCase, DummyModulestore):
|
||||
self.assertTrue(isinstance(legend, basestring))
|
||||
|
||||
#Get all results
|
||||
module.handle_ajax("get_results", {})
|
||||
module.handle_ajax("get_combined_rubric", {})
|
||||
|
||||
#reset the problem
|
||||
module.handle_ajax("reset", {})
|
||||
|
||||
Reference in New Issue
Block a user