)]}'
{"openstack_dashboard/api/rest/cinder.py":[{"author":{"_account_id":8040,"name":"Timur Sufiev","email":"tsufiev@gmail.com","username":"tsufiev"},"change_message_id":"3da2b62a1240d168126239dbf1d4ef3ce0a7ea2f","unresolved":false,"context_lines":[{"line_number":308,"context_line":""},{"line_number":309,"context_line":"    @rest_utils.ajax(data_required\u003dTrue)"},{"line_number":310,"context_line":"    def patch(self, request, project_id):"},{"line_number":311,"context_line":"        \"\"\"Update a single project quota data."},{"line_number":312,"context_line":""},{"line_number":313,"context_line":"        The PATCH data should be an application/json object with the"},{"line_number":314,"context_line":"        attributes to set to new quota values."}],"source_content_type":"text/x-python","patch_set":32,"id":"5a18252c_2ae2a29f","line":311,"updated":"2016-04-13 15:38:35.000000000","message":"Shouldn\u0027t this method check as well for api.cinder.is_volume_service_enabled() (and be in the previous quota API patch?)","commit_id":"8ebd1e373b52d2def3392d634fb8d576415ebfc3"},{"author":{"_account_id":15742,"name":"Paulo Ewerton Gomes Fragoso","email":"pauloewerton@lsd.ufcg.edu.br","username":"pauloewerton"},"change_message_id":"da17d874dde05530f5b84c444ad95dcec1e04f85","unresolved":false,"context_lines":[{"line_number":308,"context_line":""},{"line_number":309,"context_line":"    @rest_utils.ajax(data_required\u003dTrue)"},{"line_number":310,"context_line":"    def patch(self, request, project_id):"},{"line_number":311,"context_line":"        \"\"\"Update a single project quota data."},{"line_number":312,"context_line":""},{"line_number":313,"context_line":"        The PATCH data should be an application/json object with the"},{"line_number":314,"context_line":"        attributes to set to new quota values."}],"source_content_type":"text/x-python","patch_set":32,"id":"7aa08908_0807341d","line":311,"in_reply_to":"5a18252c_2ae2a29f","updated":"2016-06-06 12:56:51.000000000","message":"I prefer to check service availability in the client code, so the rest api code looks cleaner. this is consistent with most of the api code. but I don\u0027t see a problem in checking that here, if you indeed see fit.","commit_id":"8ebd1e373b52d2def3392d634fb8d576415ebfc3"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"2e39cc4280654706cb949b39b5afaed1d47a1b41","unresolved":false,"context_lines":[{"line_number":325,"context_line":"            if key not in disabled_quotas"},{"line_number":326,"context_line":"        }"},{"line_number":327,"context_line":""},{"line_number":328,"context_line":"        api.cinder.tenant_quota_update(request, project_id, **cinder_data)"}],"source_content_type":"text/x-python","patch_set":36,"id":"7aa08908_6014cf9e","line":328,"updated":"2016-06-16 22:48:48.000000000","message":"still curious about what Timur said in PS 32, why do we check on L295 if service is enabled but not per project?","commit_id":"479e662eb0b92f111a3ada0083b0ea1841189a72"},{"author":{"_account_id":15742,"name":"Paulo Ewerton Gomes Fragoso","email":"pauloewerton@lsd.ufcg.edu.br","username":"pauloewerton"},"change_message_id":"eb5a6f942fcd555d6788ba2363444a1cd7698066","unresolved":false,"context_lines":[{"line_number":325,"context_line":"            if key not in disabled_quotas"},{"line_number":326,"context_line":"        }"},{"line_number":327,"context_line":""},{"line_number":328,"context_line":"        api.cinder.tenant_quota_update(request, project_id, **cinder_data)"}],"source_content_type":"text/x-python","patch_set":36,"id":"5a9d85d2_f3061f1f","line":328,"in_reply_to":"7aa08908_6014cf9e","updated":"2016-06-20 16:36:00.000000000","message":"I assumed checking on the client code would suffice, but I\u0027ll check here for consistency","commit_id":"479e662eb0b92f111a3ada0083b0ea1841189a72"}],"openstack_dashboard/api/rest/neutron.py":[{"author":{"_account_id":8040,"name":"Timur Sufiev","email":"tsufiev@gmail.com","username":"tsufiev"},"change_message_id":"3da2b62a1240d168126239dbf1d4ef3ce0a7ea2f","unresolved":false,"context_lines":[{"line_number":199,"context_line":""},{"line_number":200,"context_line":"            return {\u0027items\u0027: result}"},{"line_number":201,"context_line":"        else:"},{"line_number":202,"context_line":"            raise rest_utils.AjaxError(404, _(\u0027Service Neutron is disabled.\u0027))"},{"line_number":203,"context_line":""},{"line_number":204,"context_line":""},{"line_number":205,"context_line":"@urls.register"}],"source_content_type":"text/x-python","patch_set":32,"id":"5a18252c_0d3c20c7","line":202,"updated":"2016-04-13 15:38:35.000000000","message":"I\u0027ve noticed that at https://review.openstack.org/#/c/207126/84/openstack_dashboard/api/rest/cinder.py 501 is raised while here it\u0027s 404. I like 404 more, but anyways we need to be consistent.","commit_id":"8ebd1e373b52d2def3392d634fb8d576415ebfc3"},{"author":{"_account_id":15742,"name":"Paulo Ewerton Gomes Fragoso","email":"pauloewerton@lsd.ufcg.edu.br","username":"pauloewerton"},"change_message_id":"da17d874dde05530f5b84c444ad95dcec1e04f85","unresolved":false,"context_lines":[{"line_number":199,"context_line":""},{"line_number":200,"context_line":"            return {\u0027items\u0027: result}"},{"line_number":201,"context_line":"        else:"},{"line_number":202,"context_line":"            raise rest_utils.AjaxError(404, _(\u0027Service Neutron is disabled.\u0027))"},{"line_number":203,"context_line":""},{"line_number":204,"context_line":""},{"line_number":205,"context_line":"@urls.register"}],"source_content_type":"text/x-python","patch_set":32,"id":"7aa08908_a393a1a2","line":202,"in_reply_to":"5a18252c_0d3c20c7","updated":"2016-06-06 12:56:51.000000000","message":"yeah I\u0027m not sure why 501 was decided to be more appropriate in this case, but I\u0027ll replace the 404 for consistency\u0027s sake :)","commit_id":"8ebd1e373b52d2def3392d634fb8d576415ebfc3"},{"author":{"_account_id":8040,"name":"Timur Sufiev","email":"tsufiev@gmail.com","username":"tsufiev"},"change_message_id":"3da2b62a1240d168126239dbf1d4ef3ce0a7ea2f","unresolved":false,"context_lines":[{"line_number":218,"context_line":"        This method returns HTTP 204 (no content) on success."},{"line_number":219,"context_line":"        \"\"\""},{"line_number":220,"context_line":"        # Filters only neutron quota fields"},{"line_number":221,"context_line":"        neutron_data \u003d {}"},{"line_number":222,"context_line":"        disabled_quotas \u003d quotas.get_disabled_quotas(request)"},{"line_number":223,"context_line":""},{"line_number":224,"context_line":"        for key in quotas.NEUTRON_QUOTA_FIELDS:"}],"source_content_type":"text/x-python","patch_set":32,"id":"5a18252c_6d867466","line":221,"updated":"2016-04-13 15:38:35.000000000","message":"Is it the common approach to not test for service availability when making a per-project quota set call?","commit_id":"8ebd1e373b52d2def3392d634fb8d576415ebfc3"},{"author":{"_account_id":15742,"name":"Paulo Ewerton Gomes Fragoso","email":"pauloewerton@lsd.ufcg.edu.br","username":"pauloewerton"},"change_message_id":"da17d874dde05530f5b84c444ad95dcec1e04f85","unresolved":false,"context_lines":[{"line_number":218,"context_line":"        This method returns HTTP 204 (no content) on success."},{"line_number":219,"context_line":"        \"\"\""},{"line_number":220,"context_line":"        # Filters only neutron quota fields"},{"line_number":221,"context_line":"        neutron_data \u003d {}"},{"line_number":222,"context_line":"        disabled_quotas \u003d quotas.get_disabled_quotas(request)"},{"line_number":223,"context_line":""},{"line_number":224,"context_line":"        for key in quotas.NEUTRON_QUOTA_FIELDS:"}],"source_content_type":"text/x-python","patch_set":32,"id":"7aa08908_635c1926","line":221,"in_reply_to":"5a18252c_6d867466","updated":"2016-06-06 12:56:51.000000000","message":"please, refer to previous answer.","commit_id":"8ebd1e373b52d2def3392d634fb8d576415ebfc3"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"2e39cc4280654706cb949b39b5afaed1d47a1b41","unresolved":false,"context_lines":[{"line_number":218,"context_line":"        This method returns HTTP 204 (no content) on success."},{"line_number":219,"context_line":"        \"\"\""},{"line_number":220,"context_line":"        # Filters only neutron quota fields"},{"line_number":221,"context_line":"        disabled_quotas \u003d quotas.get_disabled_quotas(request)"},{"line_number":222,"context_line":""},{"line_number":223,"context_line":"        neutron_data \u003d {"},{"line_number":224,"context_line":"            key: request.DATA[key] for key in quotas.NEUTRON_QUOTA_FIELDS"}],"source_content_type":"text/x-python","patch_set":36,"id":"7aa08908_c0d023cc","line":221,"updated":"2016-06-16 22:48:48.000000000","message":"check if service is avail?","commit_id":"479e662eb0b92f111a3ada0083b0ea1841189a72"},{"author":{"_account_id":15742,"name":"Paulo Ewerton Gomes Fragoso","email":"pauloewerton@lsd.ufcg.edu.br","username":"pauloewerton"},"change_message_id":"eb5a6f942fcd555d6788ba2363444a1cd7698066","unresolved":false,"context_lines":[{"line_number":218,"context_line":"        This method returns HTTP 204 (no content) on success."},{"line_number":219,"context_line":"        \"\"\""},{"line_number":220,"context_line":"        # Filters only neutron quota fields"},{"line_number":221,"context_line":"        disabled_quotas \u003d quotas.get_disabled_quotas(request)"},{"line_number":222,"context_line":""},{"line_number":223,"context_line":"        neutron_data \u003d {"},{"line_number":224,"context_line":"            key: request.DATA[key] for key in quotas.NEUTRON_QUOTA_FIELDS"}],"source_content_type":"text/x-python","patch_set":36,"id":"5a9d85d2_6e0ec235","line":221,"in_reply_to":"7aa08908_c0d023cc","updated":"2016-06-20 16:36:00.000000000","message":"Done","commit_id":"479e662eb0b92f111a3ada0083b0ea1841189a72"}],"openstack_dashboard/api/rest/nova.py":[{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"2e39cc4280654706cb949b39b5afaed1d47a1b41","unresolved":false,"context_lines":[{"line_number":609,"context_line":""},{"line_number":610,"context_line":"        This method returns HTTP 204 (no content) on success."},{"line_number":611,"context_line":"        \"\"\""},{"line_number":612,"context_line":"        disabled_quotas \u003d quotas.get_disabled_quotas(request)"},{"line_number":613,"context_line":""},{"line_number":614,"context_line":"        nova_data \u003d {"},{"line_number":615,"context_line":"            key: request.DATA[key] for key in quotas.NOVA_QUOTA_FIELDS"}],"source_content_type":"text/x-python","patch_set":36,"id":"7aa08908_60f04f67","line":612,"updated":"2016-06-16 22:48:48.000000000","message":"check nova service avail?","commit_id":"479e662eb0b92f111a3ada0083b0ea1841189a72"},{"author":{"_account_id":15742,"name":"Paulo Ewerton Gomes Fragoso","email":"pauloewerton@lsd.ufcg.edu.br","username":"pauloewerton"},"change_message_id":"eb5a6f942fcd555d6788ba2363444a1cd7698066","unresolved":false,"context_lines":[{"line_number":609,"context_line":""},{"line_number":610,"context_line":"        This method returns HTTP 204 (no content) on success."},{"line_number":611,"context_line":"        \"\"\""},{"line_number":612,"context_line":"        disabled_quotas \u003d quotas.get_disabled_quotas(request)"},{"line_number":613,"context_line":""},{"line_number":614,"context_line":"        nova_data \u003d {"},{"line_number":615,"context_line":"            key: request.DATA[key] for key in quotas.NOVA_QUOTA_FIELDS"}],"source_content_type":"text/x-python","patch_set":36,"id":"5a9d85d2_0e1e1e63","line":612,"in_reply_to":"7aa08908_60f04f67","updated":"2016-06-20 16:36:00.000000000","message":"Done","commit_id":"479e662eb0b92f111a3ada0083b0ea1841189a72"}],"openstack_dashboard/static/app/core/openstack-service-api/cinder.service.js":[{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"2e39cc4280654706cb949b39b5afaed1d47a1b41","unresolved":false,"context_lines":[{"line_number":325,"context_line":"    // Quota Sets"},{"line_number":326,"context_line":""},{"line_number":327,"context_line":"    /**"},{"line_number":328,"context_line":"     * @name hz.api.cinderAPI.updateProjectQuota"},{"line_number":329,"context_line":"     * @description"},{"line_number":330,"context_line":"     * Update a single project quota data."},{"line_number":331,"context_line":"     * @param {application/json} quota"}],"source_content_type":"text/javascript","patch_set":36,"id":"7aa08908_c05783c8","line":328,"updated":"2016-06-16 22:48:48.000000000","message":"no longer called hz*","commit_id":"479e662eb0b92f111a3ada0083b0ea1841189a72"},{"author":{"_account_id":15742,"name":"Paulo Ewerton Gomes Fragoso","email":"pauloewerton@lsd.ufcg.edu.br","username":"pauloewerton"},"change_message_id":"eb5a6f942fcd555d6788ba2363444a1cd7698066","unresolved":false,"context_lines":[{"line_number":325,"context_line":"    // Quota Sets"},{"line_number":326,"context_line":""},{"line_number":327,"context_line":"    /**"},{"line_number":328,"context_line":"     * @name hz.api.cinderAPI.updateProjectQuota"},{"line_number":329,"context_line":"     * @description"},{"line_number":330,"context_line":"     * Update a single project quota data."},{"line_number":331,"context_line":"     * @param {application/json} quota"}],"source_content_type":"text/javascript","patch_set":36,"id":"5a9d85d2_8e204e9d","line":328,"in_reply_to":"7aa08908_c05783c8","updated":"2016-06-20 16:36:00.000000000","message":"good catch! long time updating this code ;-)","commit_id":"479e662eb0b92f111a3ada0083b0ea1841189a72"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"c80fc8c7cfc3cf9470100df5c8ecef06b936cecb","unresolved":false,"context_lines":[{"line_number":325,"context_line":"    // Quota Sets"},{"line_number":326,"context_line":""},{"line_number":327,"context_line":"    /**"},{"line_number":328,"context_line":"     * @name horizon.api.cinderAPI.updateProjectQuota"},{"line_number":329,"context_line":"     * @description"},{"line_number":330,"context_line":"     * Update a single project quota data."},{"line_number":331,"context_line":"     * @param {application/json} quota"}],"source_content_type":"text/javascript","patch_set":38,"id":"5a9d85d2_4b300a02","line":328,"updated":"2016-06-20 21:42:17.000000000","message":"oops, wasn\u0027t clear, should be:\n\nhorizon.app.core.openstack-service-api.cinder.updateProjectQuota\n\nor just \n\nupdateProjectQuota","commit_id":"8eeb852a8abd2238b362587ed34629b1eacd1345"},{"author":{"_account_id":15742,"name":"Paulo Ewerton Gomes Fragoso","email":"pauloewerton@lsd.ufcg.edu.br","username":"pauloewerton"},"change_message_id":"16e39c17a2e07ff4527905594bffb7abfbfa86d4","unresolved":false,"context_lines":[{"line_number":325,"context_line":"    // Quota Sets"},{"line_number":326,"context_line":""},{"line_number":327,"context_line":"    /**"},{"line_number":328,"context_line":"     * @name horizon.api.cinderAPI.updateProjectQuota"},{"line_number":329,"context_line":"     * @description"},{"line_number":330,"context_line":"     * Update a single project quota data."},{"line_number":331,"context_line":"     * @param {application/json} quota"}],"source_content_type":"text/javascript","patch_set":38,"id":"5a9d85d2_3585fdac","line":328,"in_reply_to":"5a9d85d2_4b300a02","updated":"2016-06-21 13:13:17.000000000","message":"yeah, the second one looks a little more future-resilient and it\u0027s consistent with the rest of the docstrings in this file, thanks :)","commit_id":"8eeb852a8abd2238b362587ed34629b1eacd1345"}],"openstack_dashboard/static/app/core/openstack-service-api/neutron.service.js":[{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"2e39cc4280654706cb949b39b5afaed1d47a1b41","unresolved":false,"context_lines":[{"line_number":313,"context_line":"     */"},{"line_number":314,"context_line":"    function getDefaultQuotaSets() {"},{"line_number":315,"context_line":"      return apiService.get(\u0027/api/neutron/quota-sets/defaults/\u0027)"},{"line_number":316,"context_line":"        .error(function(message, stat) {"},{"line_number":317,"context_line":"          switch (stat) {"},{"line_number":318,"context_line":"            case 404: toastService.add(\u0027error\u0027, message); break;"},{"line_number":319,"context_line":"            default: toastService.add(\u0027error\u0027, gettext(\u0027Unable to retrieve the default quotas.\u0027));"}],"source_content_type":"text/javascript","patch_set":36,"id":"7aa08908_a0287734","line":316,"updated":"2016-06-16 22:48:48.000000000","message":"stat... more informative name? status_code? http_status?","commit_id":"479e662eb0b92f111a3ada0083b0ea1841189a72"},{"author":{"_account_id":15742,"name":"Paulo Ewerton Gomes Fragoso","email":"pauloewerton@lsd.ufcg.edu.br","username":"pauloewerton"},"change_message_id":"eb5a6f942fcd555d6788ba2363444a1cd7698066","unresolved":false,"context_lines":[{"line_number":313,"context_line":"     */"},{"line_number":314,"context_line":"    function getDefaultQuotaSets() {"},{"line_number":315,"context_line":"      return apiService.get(\u0027/api/neutron/quota-sets/defaults/\u0027)"},{"line_number":316,"context_line":"        .error(function(message, stat) {"},{"line_number":317,"context_line":"          switch (stat) {"},{"line_number":318,"context_line":"            case 404: toastService.add(\u0027error\u0027, message); break;"},{"line_number":319,"context_line":"            default: toastService.add(\u0027error\u0027, gettext(\u0027Unable to retrieve the default quotas.\u0027));"}],"source_content_type":"text/javascript","patch_set":36,"id":"5a9d85d2_ae3eeab5","line":316,"in_reply_to":"7aa08908_a0287734","updated":"2016-06-20 16:36:00.000000000","message":"Done","commit_id":"479e662eb0b92f111a3ada0083b0ea1841189a72"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"2e39cc4280654706cb949b39b5afaed1d47a1b41","unresolved":false,"context_lines":[{"line_number":324,"context_line":"    // Quotas Extension"},{"line_number":325,"context_line":""},{"line_number":326,"context_line":"    /**"},{"line_number":327,"context_line":"     * @name hz.api.neutronAPI.updateProjectQuota"},{"line_number":328,"context_line":"     * @description"},{"line_number":329,"context_line":"     * Update a single project quota data."},{"line_number":330,"context_line":"     * @param {application/json} quota"}],"source_content_type":"text/javascript","patch_set":36,"id":"7aa08908_206767b8","line":327,"updated":"2016-06-16 22:48:48.000000000","message":"no longer called hz*","commit_id":"479e662eb0b92f111a3ada0083b0ea1841189a72"},{"author":{"_account_id":15742,"name":"Paulo Ewerton Gomes Fragoso","email":"pauloewerton@lsd.ufcg.edu.br","username":"pauloewerton"},"change_message_id":"eb5a6f942fcd555d6788ba2363444a1cd7698066","unresolved":false,"context_lines":[{"line_number":324,"context_line":"    // Quotas Extension"},{"line_number":325,"context_line":""},{"line_number":326,"context_line":"    /**"},{"line_number":327,"context_line":"     * @name hz.api.neutronAPI.updateProjectQuota"},{"line_number":328,"context_line":"     * @description"},{"line_number":329,"context_line":"     * Update a single project quota data."},{"line_number":330,"context_line":"     * @param {application/json} quota"}],"source_content_type":"text/javascript","patch_set":36,"id":"5a9d85d2_8e57ae01","line":327,"in_reply_to":"7aa08908_206767b8","updated":"2016-06-20 16:36:00.000000000","message":"Done","commit_id":"479e662eb0b92f111a3ada0083b0ea1841189a72"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"c80fc8c7cfc3cf9470100df5c8ecef06b936cecb","unresolved":false,"context_lines":[{"line_number":321,"context_line":"    // Quotas Extension"},{"line_number":322,"context_line":""},{"line_number":323,"context_line":"    /**"},{"line_number":324,"context_line":"     * @name horizon.api.neutronAPI.updateProjectQuota"},{"line_number":325,"context_line":"     * @description"},{"line_number":326,"context_line":"     * Update a single project quota data."},{"line_number":327,"context_line":"     * @param {application/json} quota"}],"source_content_type":"text/javascript","patch_set":38,"id":"5a9d85d2_be7c4e73","line":324,"updated":"2016-06-20 21:42:17.000000000","message":"ditto","commit_id":"8eeb852a8abd2238b362587ed34629b1eacd1345"},{"author":{"_account_id":15742,"name":"Paulo Ewerton Gomes Fragoso","email":"pauloewerton@lsd.ufcg.edu.br","username":"pauloewerton"},"change_message_id":"16e39c17a2e07ff4527905594bffb7abfbfa86d4","unresolved":false,"context_lines":[{"line_number":321,"context_line":"    // Quotas Extension"},{"line_number":322,"context_line":""},{"line_number":323,"context_line":"    /**"},{"line_number":324,"context_line":"     * @name horizon.api.neutronAPI.updateProjectQuota"},{"line_number":325,"context_line":"     * @description"},{"line_number":326,"context_line":"     * Update a single project quota data."},{"line_number":327,"context_line":"     * @param {application/json} quota"}],"source_content_type":"text/javascript","patch_set":38,"id":"5a9d85d2_9594b1e2","line":324,"in_reply_to":"5a9d85d2_be7c4e73","updated":"2016-06-21 13:13:17.000000000","message":"Done","commit_id":"8eeb852a8abd2238b362587ed34629b1eacd1345"}],"openstack_dashboard/test/api_tests/cinder_rest_tests.py":[{"author":{"_account_id":12281,"name":"Itxaka","email":"igarcia@suse.com","username":"itxaka"},"change_message_id":"fb61b59282f3941d613af432195ef5ce726ece04","unresolved":false,"context_lines":[{"line_number":365,"context_line":"    @mock.patch.object(cinder.api, \u0027cinder\u0027)"},{"line_number":366,"context_line":"    @mock.patch.object(cinder, \u0027quotas\u0027)"},{"line_number":367,"context_line":"    def test_quota_sets_patch(self, qc, cc):"},{"line_number":368,"context_line":"        quota_set \u003d TEST.cinder_quotas.list()[0]"},{"line_number":369,"context_line":"        quota_data \u003d {}"},{"line_number":370,"context_line":""},{"line_number":371,"context_line":"        for quota in quota_set:"}],"source_content_type":"text/x-python","patch_set":27,"id":"bae84128_0a6123a9","line":368,"updated":"2016-02-24 10:51:03.000000000","message":"Isnt this object available as self.cinder_quotas.list() ?","commit_id":"8114721a0044175a1fa5a9da2c73d8411271d1dd"},{"author":{"_account_id":15742,"name":"Paulo Ewerton Gomes Fragoso","email":"pauloewerton@lsd.ufcg.edu.br","username":"pauloewerton"},"change_message_id":"61a5962672f64631c6e554d25d0b25929a2b4d60","unresolved":false,"context_lines":[{"line_number":365,"context_line":"    @mock.patch.object(cinder.api, \u0027cinder\u0027)"},{"line_number":366,"context_line":"    @mock.patch.object(cinder, \u0027quotas\u0027)"},{"line_number":367,"context_line":"    def test_quota_sets_patch(self, qc, cc):"},{"line_number":368,"context_line":"        quota_set \u003d TEST.cinder_quotas.list()[0]"},{"line_number":369,"context_line":"        quota_data \u003d {}"},{"line_number":370,"context_line":""},{"line_number":371,"context_line":"        for quota in quota_set:"}],"source_content_type":"text/x-python","patch_set":27,"id":"7af24918_1b44b472","line":368,"in_reply_to":"bae84128_0a6123a9","updated":"2016-03-01 13:24:49.000000000","message":"Done","commit_id":"8114721a0044175a1fa5a9da2c73d8411271d1dd"}],"openstack_dashboard/test/api_tests/neutron_rest_tests.py":[{"author":{"_account_id":12281,"name":"Itxaka","email":"igarcia@suse.com","username":"itxaka"},"change_message_id":"fb61b59282f3941d613af432195ef5ce726ece04","unresolved":false,"context_lines":[{"line_number":222,"context_line":"    def setUp(self):"},{"line_number":223,"context_line":"        super(NeutronQuotaSetsTestCase, self).setUp()"},{"line_number":224,"context_line":""},{"line_number":225,"context_line":"        quota_set \u003d TEST.neutron_quotas.list()[0]"},{"line_number":226,"context_line":"        self._quota_data \u003d {}"},{"line_number":227,"context_line":""},{"line_number":228,"context_line":"        for quota in quota_set:"}],"source_content_type":"text/x-python","patch_set":27,"id":"bae84128_aac2b750","line":225,"updated":"2016-02-24 10:51:03.000000000","message":"same here, is not not available at self.neutron_quotas.list() ?","commit_id":"8114721a0044175a1fa5a9da2c73d8411271d1dd"},{"author":{"_account_id":15742,"name":"Paulo Ewerton Gomes Fragoso","email":"pauloewerton@lsd.ufcg.edu.br","username":"pauloewerton"},"change_message_id":"61a5962672f64631c6e554d25d0b25929a2b4d60","unresolved":false,"context_lines":[{"line_number":222,"context_line":"    def setUp(self):"},{"line_number":223,"context_line":"        super(NeutronQuotaSetsTestCase, self).setUp()"},{"line_number":224,"context_line":""},{"line_number":225,"context_line":"        quota_set \u003d TEST.neutron_quotas.list()[0]"},{"line_number":226,"context_line":"        self._quota_data \u003d {}"},{"line_number":227,"context_line":""},{"line_number":228,"context_line":"        for quota in quota_set:"}],"source_content_type":"text/x-python","patch_set":27,"id":"7af24918_fb48e889","line":225,"in_reply_to":"bae84128_aac2b750","updated":"2016-03-01 13:24:49.000000000","message":"Done","commit_id":"8114721a0044175a1fa5a9da2c73d8411271d1dd"},{"author":{"_account_id":9622,"name":"Cindy Lu","email":"clu@us.ibm.com","username":"clu14"},"change_message_id":"2e39cc4280654706cb949b39b5afaed1d47a1b41","unresolved":false,"context_lines":[{"line_number":230,"context_line":""},{"line_number":231,"context_line":"    @mock.patch.object(neutron, \u0027quotas\u0027)"},{"line_number":232,"context_line":"    @mock.patch.object(neutron.api, \u0027neutron\u0027)"},{"line_number":233,"context_line":"    def test_quotas_extension_patch(self, nc, qc):"},{"line_number":234,"context_line":"        request \u003d self.mock_rest_request(body\u003d\u0027\u0027\u0027"},{"line_number":235,"context_line":"            {\"network\": \"5\", \"subnet\": \"5\", \"port\": \"50\","},{"line_number":236,"context_line":"             \"router\": \"5\", \"floatingip\": \"50\","}],"source_content_type":"text/x-python","patch_set":36,"id":"7aa08908_a0b87776","line":233,"updated":"2016-06-16 22:48:48.000000000","message":"test_quotas_sets_patch*","commit_id":"479e662eb0b92f111a3ada0083b0ea1841189a72"},{"author":{"_account_id":15742,"name":"Paulo Ewerton Gomes Fragoso","email":"pauloewerton@lsd.ufcg.edu.br","username":"pauloewerton"},"change_message_id":"eb5a6f942fcd555d6788ba2363444a1cd7698066","unresolved":false,"context_lines":[{"line_number":230,"context_line":""},{"line_number":231,"context_line":"    @mock.patch.object(neutron, \u0027quotas\u0027)"},{"line_number":232,"context_line":"    @mock.patch.object(neutron.api, \u0027neutron\u0027)"},{"line_number":233,"context_line":"    def test_quotas_extension_patch(self, nc, qc):"},{"line_number":234,"context_line":"        request \u003d self.mock_rest_request(body\u003d\u0027\u0027\u0027"},{"line_number":235,"context_line":"            {\"network\": \"5\", \"subnet\": \"5\", \"port\": \"50\","},{"line_number":236,"context_line":"             \"router\": \"5\", \"floatingip\": \"50\","}],"source_content_type":"text/x-python","patch_set":36,"id":"5a9d85d2_8ea5ee05","line":233,"in_reply_to":"7aa08908_a0b87776","updated":"2016-06-20 16:36:00.000000000","message":"Done","commit_id":"479e662eb0b92f111a3ada0083b0ea1841189a72"}],"openstack_dashboard/test/api_tests/usage_rest_tests.py":[{"author":{"_account_id":1941,"name":"Lin Hua Cheng","email":"os.lcheng@gmail.com","username":"lin-hua-cheng"},"change_message_id":"a57e5ae6f6864f77e3cbb068878fcc33b86d37ad","unresolved":false,"context_lines":[{"line_number":25,"context_line":""},{"line_number":26,"context_line":"class UsageRestTestCase(test.TestCase):"},{"line_number":27,"context_line":"    @classmethod"},{"line_number":28,"context_line":"    def setUpClass(cls):"},{"line_number":29,"context_line":"        cinder_quotas \u003d TEST_CINDER.cinder_quotas.list()[0]"},{"line_number":30,"context_line":"        # having problems trying to load these from nova_data"},{"line_number":31,"context_line":"        nova_quotas \u003d base.QuotaSet(dict(metadata_items\u003d\u00271\u0027,"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a4dcd0f_45b462f1","line":28,"updated":"2015-08-04 04:38:54.000000000","message":"why use setUpClass if just setUp() can suffice?\n\nYou\u0027re also missing the call to super()","commit_id":"edbf4ffae8825aec593c2b49864091a88ef26529"},{"author":{"_account_id":15742,"name":"Paulo Ewerton Gomes Fragoso","email":"pauloewerton@lsd.ufcg.edu.br","username":"pauloewerton"},"change_message_id":"fca1fb2bdbf4bd4a38da36cc3e3731772fe3829a","unresolved":false,"context_lines":[{"line_number":25,"context_line":""},{"line_number":26,"context_line":"class UsageRestTestCase(test.TestCase):"},{"line_number":27,"context_line":"    @classmethod"},{"line_number":28,"context_line":"    def setUpClass(cls):"},{"line_number":29,"context_line":"        cinder_quotas \u003d TEST_CINDER.cinder_quotas.list()[0]"},{"line_number":30,"context_line":"        # having problems trying to load these from nova_data"},{"line_number":31,"context_line":"        nova_quotas \u003d base.QuotaSet(dict(metadata_items\u003d\u00271\u0027,"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a4dcd0f_ee2c3d4c","line":28,"in_reply_to":"1a4dcd0f_45b462f1","updated":"2015-08-04 18:46:03.000000000","message":"Done","commit_id":"edbf4ffae8825aec593c2b49864091a88ef26529"}]}
