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

« back to all changes in this revision

Viewing changes to ivle/webapp/tutorial/test/TestFramework.py

  • Committer: William Grant
  • Date: 2010-02-23 08:48:09 UTC
  • mfrom: (1673 trunk)
  • mto: This revision was merged to the branch mainline in revision 1674.
  • Revision ID: grantw@unimelb.edu.au-20100223084809-du6dvsxrjhw15ytr
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
191
191
        """
192
192
        
193
193
        if test_type not in ['norm', 'check', 'match']:
194
 
            raise TestCreationError("Invalid test type in %s" %self._desc)
 
194
            raise TestCreationError("Invalid test type in %s" % self._pass_msg)
195
195
        
196
196
        if function == '':
197
197
            if test_type == 'norm': function = self.ident