~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/webapp/tutorial/exercise_service.py

  • Committer: William Grant
  • Date: 2009-12-10 04:45:45 UTC
  • mto: This revision was merged to the branch mainline in revision 1398.
  • Revision ID: grantw@unimelb.edu.au-20091210044545-islrixo29cgmaqou
Report TestCreationErrors as a critical error during testing.

Show diffs side-by-side

added added

removed removed

Lines of Context:
319
319
            return test_exercise_submission(
320
320
                req.config, req.user, self.context, code)
321
321
        except TestCreationError, e:
322
 
            return {'test_creation_error': e._reason}
 
322
            return {'critical_error': {'name': 'TestCreationError', 'detail': e._reason}}