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

« back to all changes in this revision

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

Unbreak TestFramework's exception reporting mechanism, and report TestCreationErrors in test mode.

Show diffs side-by-side

added added

removed removed

Lines of Context:
540
540
 
541
541
        exception_name = None
542
542
        if 'exception' in inspection:
543
 
            exception = inspection['exception']['except']
 
543
            exception = inspection['exception']
544
544
            exception_name = type(exception).__name__
545
545
            raise(exception)
546
546
 
576
576
 
577
577
        exception_name = None
578
578
        if 'exception' in call:
579
 
            exception = call['exception']['except']
 
579
            exception = call['exception']
580
580
            exception_name = type(exception).__name__
581
581
            raise(exception)
582
582