)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"},"change_message_id":"1b52038ef823bb89fc92954b94d78ec7493623ae","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Mike Bayer \u003cmike_mp@zzzcomputing.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2014-06-12 17:28:36 -0400"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"- Add tearDown() to QuotaReserveSqlAlchemyTestCase which restores"},{"line_number":8,"context_line":"the original callables within nova.db.sqlalchemy.api.QUOTA_SYNC_FUNCTIONS"},{"line_number":9,"context_line":"so that subsequent tests have the original functions present."},{"line_number":10,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"1ae5cdf2_e5ebc510","line":7,"updated":"2014-06-12 22:46:11.000000000","message":"The first line should stand alone and describe the patch in one line or less.\n\nThen a blank line and then further discussion.","commit_id":"0a791d4e6c07426cfa81c31e3e0b944f03da04ac"}],"nova/tests/test_quota.py":[{"author":{"_account_id":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"},"change_message_id":"1b52038ef823bb89fc92954b94d78ec7493623ae","unresolved":false,"context_lines":[{"line_number":2109,"context_line":"        self.resources \u003d {}"},{"line_number":2110,"context_line":""},{"line_number":2111,"context_line":"        self._existing_quota_sync_func_dict \u003d dict("},{"line_number":2112,"context_line":"                                            sqa_api.QUOTA_SYNC_FUNCTIONS)"},{"line_number":2113,"context_line":""},{"line_number":2114,"context_line":"        for res_name in (\u0027instances\u0027, \u0027cores\u0027, \u0027ram\u0027, \u0027fixed_ips\u0027):"},{"line_number":2115,"context_line":"            method_name \u003d \u0027_sync_%s\u0027 % res_name"}],"source_content_type":"text/x-python","patch_set":1,"id":"1ae5cdf2_a5e53d39","line":2112,"updated":"2014-06-12 22:46:11.000000000","message":"Our style generally is to indent this by four or eight spaces from the line above to be consistent.","commit_id":"0a791d4e6c07426cfa81c31e3e0b944f03da04ac"},{"author":{"_account_id":4393,"name":"Dan Smith","email":"dms@danplanet.com","username":"danms"},"change_message_id":"1b52038ef823bb89fc92954b94d78ec7493623ae","unresolved":false,"context_lines":[{"line_number":2189,"context_line":"        sqa_api.QUOTA_SYNC_FUNCTIONS.update("},{"line_number":2190,"context_line":"                                        self._existing_quota_sync_func_dict)"},{"line_number":2191,"context_line":"        del self._existing_quota_sync_func_dict"},{"line_number":2192,"context_line":"        super(QuotaReserveSqlAlchemyTestCase, self).tearDown()"},{"line_number":2193,"context_line":""},{"line_number":2194,"context_line":"    def _make_quota_usage(self, project_id, user_id, resource, in_use,"},{"line_number":2195,"context_line":"                          reserved, until_refresh, created_at, updated_at):"}],"source_content_type":"text/x-python","patch_set":1,"id":"1ae5cdf2_e53905a5","line":2192,"updated":"2014-06-12 22:46:11.000000000","message":"In general, we\u0027re trying to avoid things like this (using tearDown directly) these days. Everything like this should be a fixture (see the line right above this method, for example).","commit_id":"0a791d4e6c07426cfa81c31e3e0b944f03da04ac"}]}
