~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-15 00:24:40 UTC
  • Revision ID: me@williamgrant.id.au-20091215002440-5rxncmcoqx82dhdj
Disable support for testcases with a default other than 'ignore'.

Show diffs side-by-side

added added

removed removed

Lines of Context:
191
191
        new_case.passmsg = unicode(passmsg)
192
192
        new_case.failmsg = unicode(failmsg)
193
193
        new_case.seq_no = suite.test_cases.count()
 
194
        # XXX: Force this for now, since we don't support the
 
195
        #      'match' default. It might make sense to support
 
196
        #      this again once file testing support returns.
 
197
        new_case.test_default = u'ignore'
194
198
        suite.test_cases.add(new_case)
195
199
        
196
200
        req.store.add(new_case)