~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-06-25 11:38:03 UTC
  • mfrom: (1099.7.41 exercise-ui)
  • Revision ID: grantw@unimelb.edu.au-20090625113803-dcezngl2rxh0tshh
Merge exercise-editor-makeover. The exercise editor has been made over.

Show diffs side-by-side

added added

removed removed

Lines of Context:
194
194
        new_case = TestCase()
195
195
        new_case.passmsg = unicode(passmsg)
196
196
        new_case.failmsg = unicode(failmsg)
197
 
        new_case.default = unicode(default)
 
197
        new_case.test_default = unicode(default)
198
198
        new_case.seq_no = suite.test_cases.count()
199
199
        suite.test_cases.add(new_case)
200
200
        
219
219
        
220
220
        test_case.passmsg = unicode(passmsg)
221
221
        test_case.failmsg = unicode(failmsg)
222
 
        test_case.default = unicode(default)
 
222
        test_case.test_default = unicode(default)
223
223
        
224
224
        return {'result': 'ok'}
225
225