)]}'
{"openstack_dashboard/dashboards/project/volumes/tables.py":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"b9d179f2d15a562f664ae306e6592ae31d8befee","unresolved":false,"context_lines":[{"line_number":305,"context_line":""},{"line_number":306,"context_line":"    def allowed(self, request, volume\u003dNone):"},{"line_number":307,"context_line":"        limits \u003d api.cinder.tenant_absolute_limits(request)"},{"line_number":308,"context_line":""},{"line_number":309,"context_line":"        gb_available \u003d (limits.get(\u0027maxTotalVolumeGigabytes\u0027, float(\"inf\")) -"},{"line_number":310,"context_line":"                        limits.get(\u0027totalGigabytesUsed\u0027, 0))"},{"line_number":311,"context_line":"        volumes_available \u003d (limits.get(\u0027maxTotalVolumes\u0027, float(\"inf\")) -"}],"source_content_type":"text/x-python","patch_set":2,"id":"dfbec78f_30018006","line":308,"updated":"2019-05-12 09:36:44.000000000","message":"can\u0027t we use openstack_dashboard.usages.quota.tenant_quota_usages?\nIt calculate \u0027available\u0027. What you do below is to re-implement the same thing in a different way.","commit_id":"f491f9c0e35e6d6e2c0c7debe5d5b6b2d1f40081"}],"openstack_dashboard/dashboards/project/volumes/tests.py":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"37b2567587d566fd49fb2c1ca904698cf0cacbb6","unresolved":false,"context_lines":[{"line_number":1141,"context_line":"        mock_limits.assert_has_calls(["},{"line_number":1142,"context_line":"            mock.call(test.IsHttpRequest()),"},{"line_number":1143,"context_line":"            mock.call(test.IsHttpRequest(), self.request.user.tenant_id),"},{"line_number":1144,"context_line":"            mock.call(test.IsHttpRequest())"},{"line_number":1145,"context_line":"        ])"},{"line_number":1146,"context_line":"        self.assertEqual(3, mock_limits.call_count)"},{"line_number":1147,"context_line":""}],"source_content_type":"text/x-python","patch_set":4,"id":"dfbec78f_b316d5f0","line":1144,"updated":"2019-05-13 07:38:36.000000000","message":"Can\u0027t we mock tenant_quota_usages instead?","commit_id":"50843dc8dab8badc49642173b98dbc63cef8feae"}]}
