)]}'
{"openstack/resource.py":[{"author":{"_account_id":12000,"name":"Ian Cordasco","email":"sigmavirus24@gmail.com","username":"sigmavirus24"},"change_message_id":"acf0be166fbe11a51bfc271dd5162d1ac558b87e","unresolved":false,"context_lines":[{"line_number":244,"context_line":"        elif isinstance(value, six.string_types):"},{"line_number":245,"context_line":"            return cls.new(**{cls.id_attribute: value})"},{"line_number":246,"context_line":"        else:"},{"line_number":247,"context_line":"            raise ValueError(\"value must be %s object or id\" % cls.__name__)"},{"line_number":248,"context_line":""},{"line_number":249,"context_line":"    ##"},{"line_number":250,"context_line":"    # MUTABLE MAPPING IMPLEMENTATION"}],"source_content_type":"text/x-python","patch_set":1,"id":"3a961159_52599759","line":247,"updated":"2015-01-16 17:25:05.000000000","message":"Perhaps a better message:\n\n\"value must be instance of %s or id\"\n\nSlightly more explicit, IMO","commit_id":"e8862173ff4d2831d7c5cae795316ddc20aef857"}],"openstack/tests/test_resource.py":[{"author":{"_account_id":12000,"name":"Ian Cordasco","email":"sigmavirus24@gmail.com","username":"sigmavirus24"},"change_message_id":"acf0be166fbe11a51bfc271dd5162d1ac558b87e","unresolved":false,"context_lines":[{"line_number":386,"context_line":""},{"line_number":387,"context_line":"    def test_from_id_with_bad_value(self):"},{"line_number":388,"context_line":"        try:"},{"line_number":389,"context_line":"            FakeResource.from_id(3.14)"},{"line_number":390,"context_line":"        except ValueError:"},{"line_number":391,"context_line":"            pass"},{"line_number":392,"context_line":"        else:"}],"source_content_type":"text/x-python","patch_set":1,"id":"3a961159_3225ebc1","line":389,"updated":"2015-01-16 17:25:05.000000000","message":"Is there no assertRaises equivalent with testtools/testr?","commit_id":"e8862173ff4d2831d7c5cae795316ddc20aef857"}]}
