Fix test, strip out more of show results

This commit is contained in:
Vik Paruchuri
2013-08-15 18:57:32 -04:00
parent a49da5d530
commit b97dbc37a6
2 changed files with 1 additions and 6 deletions

View File

@@ -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

View File

@@ -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", {})