)]}'
{"tempest/lib/exceptions.py":[{"author":{"_account_id":5196,"name":"Matthew Treinish","email":"mtreinish@kortar.org","username":"treinish"},"change_message_id":"a555ed3e7b54e1bf4e8728443ec3af165ca991f3","unresolved":false,"context_lines":[{"line_number":149,"context_line":"    message \u003d \"Unexpected response code received\""},{"line_number":150,"context_line":""},{"line_number":151,"context_line":""},{"line_number":152,"context_line":"class InvalidIdentityVersion(TempestException):"},{"line_number":153,"context_line":"    message \u003d \"Invalid version %(identity_version)s of the identity service\""},{"line_number":154,"context_line":""},{"line_number":155,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"7aa08908_4d72eeb1","line":152,"updated":"2016-06-15 21:01:03.000000000","message":"So this was just plain didn\u0027t exist? I\u0027m surprised no one ever file a bug with a TypeError. I guess everyone knew better than to try and use something besides v2 or v3 here","commit_id":"c0d500ae6b5817dc131a5e4c997fd455014e8b95"}],"tempest/tests/lib/test_auth.py":[{"author":{"_account_id":1921,"name":"Andrea Frittoli","email":"andrea.frittoli@gmail.com","username":"andrea-frittoli"},"change_message_id":"2f6422a21eb615eeb51c60ec930092020e588431","unresolved":false,"context_lines":[{"line_number":807,"context_line":"class TestGetCredentials(base.TestCase):"},{"line_number":808,"context_line":""},{"line_number":809,"context_line":"    def test_invalid_identity_version(self):"},{"line_number":810,"context_line":"        self.assertRaises(exceptions.InvalidIdentityVersion,"},{"line_number":811,"context_line":"                          auth.get_credentials,"},{"line_number":812,"context_line":"                          \u0027http://localhost/identity/v3\u0027,"},{"line_number":813,"context_line":"                          identity_version\u003d\u0027v1\u0027)"}],"source_content_type":"text/x-python","patch_set":1,"id":"7aa08908_75e07797","line":810,"range":{"start_line":810,"start_character":8,"end_line":810,"end_character":25},"updated":"2016-06-15 10:01:03.000000000","message":"Personally I prefer the testtools context manager, because it gives an easy way to check that the identity version is in the message of the Exception as well, e.g.\n\nwith testtools.ExpectedException(exceptions.InvalidIdentityVersion, \u0027.* v1 .*\u0027):\n    auth.get_credentials(\u0027http://localhost/identity/v3\u0027, identity_version\u003d\u0027v1\u0027)","commit_id":"81e9a813dc0f440cc5c4e539b92cc5090c652b9a"}]}
