~ubuntu-branches/ubuntu/raring/cinder/raring-updates

« back to all changes in this revision

Viewing changes to cinder/tests/test_exception.py

Tags: upstream-2013.1~g2
ImportĀ upstreamĀ versionĀ 2013.1~g2

Show diffs side-by-side

added added

removed removed

Lines of Context:
70
70
        self.assertEquals(unicode(exc), 'default message: 500')
71
71
 
72
72
    def test_error_msg_exception_with_kwargs(self):
 
73
        # NOTE(dprince): disable format errors for this test
 
74
        self.flags(fatal_exception_format_errors=False)
 
75
 
73
76
        class FakeCinderException(exception.CinderException):
74
77
            message = "default message: %(mispelled_code)s"
75
78