)]}'
{"cinder/api/views/snapshots.py":[{"author":{"_account_id":8247,"name":"Thang Pham","email":"thang.g.pham@gmail.com","username":"thang.pham"},"change_message_id":"e59e2e6f610f40845c80230ec0a27a7530c71f1b","unresolved":false,"context_lines":[{"line_number":40,"context_line":"        return self._list_view(self.detail, request, snapshots, snapshot_count,"},{"line_number":41,"context_line":"                               coll_name\u003dself._collection_name + \u0027/detail\u0027)"},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"    def summary(self, request, snapshot):"},{"line_number":44,"context_line":"        \"\"\"Generic, non-detailed view of a snapshot.\"\"\""},{"line_number":45,"context_line":"        if isinstance(snapshot.get(\u0027metadata\u0027), dict):"},{"line_number":46,"context_line":"            metadata \u003d snapshot[\u0027metadata\u0027]"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a4dcd0f_68a78a0b","line":43,"updated":"2015-08-11 16:15:46.000000000","message":"snapshot is an oslo_versionedobject.  Why not use object dot notation below?","commit_id":"b40afe73ec6c6604a4fb69f063dd86811c26a8c0"},{"author":{"_account_id":9535,"name":"Gorka Eguileor","email":"geguileo@redhat.com","username":"Gorka"},"change_message_id":"94130c90d47cee4ad875b10ae337a5c2bc540877","unresolved":false,"context_lines":[{"line_number":40,"context_line":"        return self._list_view(self.detail, request, snapshots, snapshot_count,"},{"line_number":41,"context_line":"                               coll_name\u003dself._collection_name + \u0027/detail\u0027)"},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"    def summary(self, request, snapshot):"},{"line_number":44,"context_line":"        \"\"\"Generic, non-detailed view of a snapshot.\"\"\""},{"line_number":45,"context_line":"        if isinstance(snapshot.get(\u0027metadata\u0027), dict):"},{"line_number":46,"context_line":"            metadata \u003d snapshot[\u0027metadata\u0027]"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a4dcd0f_79c8ba22","line":43,"in_reply_to":"1a4dcd0f_68a78a0b","updated":"2015-08-11 17:23:33.000000000","message":"I was trying to keep this consistent with the rest of the views, but it is true that I shouldn\u0027t, since those should be changed.","commit_id":"b40afe73ec6c6604a4fb69f063dd86811c26a8c0"}],"cinder/tests/unit/api/v2/test_snapshots.py":[{"author":{"_account_id":2861,"name":"Vincent Hou","email":"shou@us.ibm.com","username":"houshengbo"},"change_message_id":"5a44d1c788049037c0269a6ec354c62cf36e7e17","unresolved":false,"context_lines":[{"line_number":76,"context_line":"        self.controller \u003d snapshots.SnapshotsController()"},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"        self.stubs.Set(db, \u0027snapshot_get_all_by_project\u0027,"},{"line_number":79,"context_line":"                       stubs.stub_snapshot_get_all_by_project)"},{"line_number":80,"context_line":"        self.stubs.Set(db, \u0027snapshot_get_all\u0027,"},{"line_number":81,"context_line":"                       stubs.stub_snapshot_get_all)"},{"line_number":82,"context_line":"        self.ctx \u003d context.RequestContext(\u0027admin\u0027, \u0027fakeproject\u0027, True)"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a4dcd0f_75218c4c","line":79,"updated":"2015-08-12 03:11:17.000000000","message":"Please switch stubs.set into self.mock_object or mock.patch.object.","commit_id":"2018c976597ee922a872d960eb38fe9c8b50b34c"},{"author":{"_account_id":9535,"name":"Gorka Eguileor","email":"geguileo@redhat.com","username":"Gorka"},"change_message_id":"afc4d11f634f96d1ccd2b0c23cf65d3c9a876112","unresolved":false,"context_lines":[{"line_number":76,"context_line":"        self.controller \u003d snapshots.SnapshotsController()"},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"        self.stubs.Set(db, \u0027snapshot_get_all_by_project\u0027,"},{"line_number":79,"context_line":"                       stubs.stub_snapshot_get_all_by_project)"},{"line_number":80,"context_line":"        self.stubs.Set(db, \u0027snapshot_get_all\u0027,"},{"line_number":81,"context_line":"                       stubs.stub_snapshot_get_all)"},{"line_number":82,"context_line":"        self.ctx \u003d context.RequestContext(\u0027admin\u0027, \u0027fakeproject\u0027, True)"}],"source_content_type":"text/x-python","patch_set":2,"id":"fa1b9901_40a7824f","line":79,"in_reply_to":"1a4dcd0f_75218c4c","updated":"2015-08-17 11:23:14.000000000","message":"Test cleanup is out of the scope of this patch.","commit_id":"2018c976597ee922a872d960eb38fe9c8b50b34c"},{"author":{"_account_id":2861,"name":"Vincent Hou","email":"shou@us.ibm.com","username":"houshengbo"},"change_message_id":"5a44d1c788049037c0269a6ec354c62cf36e7e17","unresolved":false,"context_lines":[{"line_number":78,"context_line":"        self.stubs.Set(db, \u0027snapshot_get_all_by_project\u0027,"},{"line_number":79,"context_line":"                       stubs.stub_snapshot_get_all_by_project)"},{"line_number":80,"context_line":"        self.stubs.Set(db, \u0027snapshot_get_all\u0027,"},{"line_number":81,"context_line":"                       stubs.stub_snapshot_get_all)"},{"line_number":82,"context_line":"        self.ctx \u003d context.RequestContext(\u0027admin\u0027, \u0027fakeproject\u0027, True)"},{"line_number":83,"context_line":""},{"line_number":84,"context_line":"    def test_snapshot_create(self):"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a4dcd0f_351784ef","line":81,"updated":"2015-08-12 03:11:17.000000000","message":"Please switch stubs.set into self.mock_object or mock.patch.object.","commit_id":"2018c976597ee922a872d960eb38fe9c8b50b34c"}]}
