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

« back to all changes in this revision

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

  • Committer: William Grant
  • Date: 2009-12-15 01:49:45 UTC
  • Revision ID: me@williamgrant.id.au-20091215014945-mmqy3lmim5c4dp4j
Redo the exercise test part type (check/norm) selection, with radio buttons. Also add an exact match option, as yet unfunctional.

Show diffs side-by-side

added added

removed removed

Lines of Context:
563
563
        ctx['part_types'] = {
564
564
            'stdout': 'standard output',
565
565
            'stderr': 'standard error',
566
 
            'result': 'the function result',
567
 
            'exception': 'the raised exception',
568
 
            'code': 'the code',
 
566
            'result': 'function result',
 
567
            'exception': 'raised exception',
 
568
            'code': 'code',
569
569
            }
570
570
        ctx['test_types'] = {'norm': 'normalisation', 'check': 'comparison'}
571
571