)]}'
{"tempest/api/object_storage/test_account_quotas.py":[{"author":{"_account_id":6847,"name":"Martina Kollarova","email":"mkollaro@gmail.com","username":"mkollaro"},"change_message_id":"47bd1698b1cc8b3f9c37f94aa82a93334b52c210","unresolved":false,"context_lines":[{"line_number":75,"context_line":"            cls.data.test_password,"},{"line_number":76,"context_line":"            cls.data.test_tenant)"},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"        headers \u003d {\"X-Auth-Token\": cls.reselleradmin_token,"},{"line_number":79,"context_line":"                   \"X-Account-Meta-Quota-Bytes\": \"20\"}"},{"line_number":80,"context_line":""},{"line_number":81,"context_line":"        cls.os.custom_account_client.request(\"POST\", \"\", headers, \"\")"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAARH%2F%2F6WQ%3D","line":78,"updated":"2013-08-15 10:32:14.000000000","message":"Please write a comment somewhere that this is the default expected quota for all tests.","commit_id":"aac3948ab3964ad0d0b319e059a2cbec742aeabe"},{"author":{"_account_id":7020,"name":"Joe Hakim Rahme","email":"jhakimra@redhat.com","username":"rahmu"},"change_message_id":"7ecbbc29e45c59e43e6681a836b6f4015e99ca0d","unresolved":false,"context_lines":[{"line_number":75,"context_line":"            cls.data.test_password,"},{"line_number":76,"context_line":"            cls.data.test_tenant)"},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"        headers \u003d {\"X-Auth-Token\": cls.reselleradmin_token,"},{"line_number":79,"context_line":"                   \"X-Account-Meta-Quota-Bytes\": \"20\"}"},{"line_number":80,"context_line":""},{"line_number":81,"context_line":"        cls.os.custom_account_client.request(\"POST\", \"\", headers, \"\")"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAARn%2F%2F%2BXI%3D","line":78,"in_reply_to":"AAAARH%2F%2F6WQ%3D","updated":"2013-08-19 13:19:18.000000000","message":"Done","commit_id":"aac3948ab3964ad0d0b319e059a2cbec742aeabe"},{"author":{"_account_id":6847,"name":"Martina Kollarova","email":"mkollaro@gmail.com","username":"mkollaro"},"change_message_id":"47bd1698b1cc8b3f9c37f94aa82a93334b52c210","unresolved":false,"context_lines":[{"line_number":84,"context_line":"    def tearDownClass(cls):"},{"line_number":85,"context_line":"        cls.delete_containers([cls.container_name])"},{"line_number":86,"context_line":"        cls.data.teardown_all()"},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"        # remove the quota from the container"},{"line_number":89,"context_line":"        headers \u003d {\"X-Auth-Token\": cls.reselleradmin_token,"},{"line_number":90,"context_line":"                   \"X-Remove-Account-Meta-Quota-Bytes\": \"x\"}"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAARH%2F%2F6WU%3D","line":87,"updated":"2013-08-15 10:32:14.000000000","message":"I\u0027d consider removing the quota before cleaning up the containers. A failed container cleanup is less likely to cause problems in other tests than a quota on the account.","commit_id":"aac3948ab3964ad0d0b319e059a2cbec742aeabe"},{"author":{"_account_id":7020,"name":"Joe Hakim Rahme","email":"jhakimra@redhat.com","username":"rahmu"},"change_message_id":"7ecbbc29e45c59e43e6681a836b6f4015e99ca0d","unresolved":false,"context_lines":[{"line_number":84,"context_line":"    def tearDownClass(cls):"},{"line_number":85,"context_line":"        cls.delete_containers([cls.container_name])"},{"line_number":86,"context_line":"        cls.data.teardown_all()"},{"line_number":87,"context_line":""},{"line_number":88,"context_line":"        # remove the quota from the container"},{"line_number":89,"context_line":"        headers \u003d {\"X-Auth-Token\": cls.reselleradmin_token,"},{"line_number":90,"context_line":"                   \"X-Remove-Account-Meta-Quota-Bytes\": \"x\"}"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAARn%2F%2F%2BXE%3D","line":87,"in_reply_to":"AAAARH%2F%2F6WU%3D","updated":"2013-08-19 13:19:18.000000000","message":"Done","commit_id":"aac3948ab3964ad0d0b319e059a2cbec742aeabe"},{"author":{"_account_id":6847,"name":"Martina Kollarova","email":"mkollaro@gmail.com","username":"mkollaro"},"change_message_id":"47bd1698b1cc8b3f9c37f94aa82a93334b52c210","unresolved":false,"context_lines":[{"line_number":117,"context_line":"    @testtools.skipIf(not accounts_quotas_available,"},{"line_number":118,"context_line":"                      \"Account Quotas middleware not available\")"},{"line_number":119,"context_line":"    @attr(type\u003d[\"smoke\"])"},{"line_number":120,"context_line":"    def test_admin_modify_quota(self):"},{"line_number":121,"context_line":"        \"\"\"Test that the ResellerAdmin is able to modify and remove the quota"},{"line_number":122,"context_line":"        on a user\u0027s account."},{"line_number":123,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAARH%2F%2F6V4%3D","line":120,"updated":"2013-08-15 10:32:14.000000000","message":"Idea for future - test if the modified quota really works by trying to upload an object smaller than the quota and another bigger than the quota.","commit_id":"aac3948ab3964ad0d0b319e059a2cbec742aeabe"},{"author":{"_account_id":7020,"name":"Joe Hakim Rahme","email":"jhakimra@redhat.com","username":"rahmu"},"change_message_id":"7ecbbc29e45c59e43e6681a836b6f4015e99ca0d","unresolved":false,"context_lines":[{"line_number":117,"context_line":"    @testtools.skipIf(not accounts_quotas_available,"},{"line_number":118,"context_line":"                      \"Account Quotas middleware not available\")"},{"line_number":119,"context_line":"    @attr(type\u003d[\"smoke\"])"},{"line_number":120,"context_line":"    def test_admin_modify_quota(self):"},{"line_number":121,"context_line":"        \"\"\"Test that the ResellerAdmin is able to modify and remove the quota"},{"line_number":122,"context_line":"        on a user\u0027s account."},{"line_number":123,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAARn%2F%2F%2BWw%3D","line":120,"in_reply_to":"AAAARH%2F%2F6V4%3D","updated":"2013-08-19 13:19:18.000000000","message":"Wouldn\u0027t this be redundant with the already existing earlier 2 tests? The way I look at it, testing if an admin is allowed to modify a quota, means testing if it\u0027s allowed to modify metadata. Whether a quota works or not is a different matter.","commit_id":"aac3948ab3964ad0d0b319e059a2cbec742aeabe"},{"author":{"_account_id":5803,"name":"Attila Fazekas","email":"afazekas@redhat.com","username":"afazekas"},"change_message_id":"c1bd5c3e656d0a1474b9426117c4c497e91986d1","unresolved":false,"context_lines":[{"line_number":150,"context_line":"        # If I try to use the \"delete_account_metadata\" method, I get"},{"line_number":151,"context_line":"        # a weird error."},{"line_number":152,"context_line":"        #"},{"line_number":153,"context_line":"        # self.assertRaises(exceptions.Unauthorized,"},{"line_number":154,"context_line":"        #                   self.account_client.delete_account_metadata,"},{"line_number":155,"context_line":"        #                   [\"Quota-Bytes\"])"},{"line_number":156,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAAQn%2F%2B7qo%3D","line":153,"updated":"2013-08-09 18:36:55.000000000","message":"Generally commented out python codes are not recomended.\nDid you created a bug report ?","commit_id":"aac3948ab3964ad0d0b319e059a2cbec742aeabe"},{"author":{"_account_id":7020,"name":"Joe Hakim Rahme","email":"jhakimra@redhat.com","username":"rahmu"},"change_message_id":"7ecbbc29e45c59e43e6681a836b6f4015e99ca0d","unresolved":false,"context_lines":[{"line_number":150,"context_line":"        # If I try to use the \"delete_account_metadata\" method, I get"},{"line_number":151,"context_line":"        # a weird error."},{"line_number":152,"context_line":"        #"},{"line_number":153,"context_line":"        # self.assertRaises(exceptions.Unauthorized,"},{"line_number":154,"context_line":"        #                   self.account_client.delete_account_metadata,"},{"line_number":155,"context_line":"        #                   [\"Quota-Bytes\"])"},{"line_number":156,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAARn%2F%2F%2BWo%3D","line":153,"in_reply_to":"AAAAQn%2F%2B7qo%3D","updated":"2013-08-19 13:19:18.000000000","message":"Okay, I removed the comment. I will fill out a bug report.","commit_id":"aac3948ab3964ad0d0b319e059a2cbec742aeabe"}]}
