Skip to content
Snippets Groups Projects
  1. Nov 20, 2013
    • Calen Pennington's avatar
      Move xmodule_runtime.xmodule_instance registration earlier · b4a18403
      Calen Pennington authored
      This allows XModules (specifically CombinedOpenEnded) to use ajax_url
      during their init functions (which would, before, have thrown an
      exception).
      
      [LMS-1493]
      b4a18403
    • Calen Pennington's avatar
      Update open-ended tests to load the module between 'requests' · 6c9ad30e
      Calen Pennington authored
      Under normal operation, XModules are reloaded on each request from a
      student. CombinedOpenEnded modules have code that runs at initialization
      that validates the students state. These changes makes that code run
      during several long-form unit tests (testing CombinedOpenEnded across
      multiple 'requests').
      
      These tests are marked as expectedFailure because they now exhibit the
      same failures as observed in [LMS-1493] (namely, the students state gets
      reset, because CombinedOpenEnded interprets system.ajax_url raising an
      error as meaning that the problem definition and the student answers are
      in conflict)
      6c9ad30e
  2. Nov 19, 2013
  3. Nov 18, 2013
Loading