~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: 2009-12-15 00:40:49 UTC
  • Revision ID: me@williamgrant.id.au-20091215004049-xtwce2s7cs5fe6ry
Correctly handle exceptions when a console function is called by TestFramework.

Show diffs side-by-side

added added

removed removed

Lines of Context:
575
575
 
576
576
        exception_name = None
577
577
        if 'exception' in call:
578
 
            exception = call['exception']
 
578
            exception = call['exception']['except']
579
579
            exception_name = type(exception).__name__
580
580
            raise(exception)
581
581