)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":9107,"name":"Victor Stinner","email":"vstinner@redhat.com","username":"haypo"},"change_message_id":"d13365fbcea21b36c074d7dca301ecf2a1991e66","unresolved":false,"context_lines":[{"line_number":10,"context_line":"The third party mock module doesn\u0027t seem to be maintained anymore."},{"line_number":11,"context_line":"This is follow up of 72c501454ea33b603918de35565a66dda8abd66a and"},{"line_number":12,"context_line":"add hacking rule to avoid regression issue."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Note: unittest.mock also detects wrong usage of method"},{"line_number":15,"context_line":"assert_called_once_with."},{"line_number":16,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"1a430d35_1a650eb4","line":13,"updated":"2017-02-08 08:46:16.000000000","message":"Please mention also that \"from six.moves import mock\" comes from oslotest.\n\nYou may also mention that oslo_messaging/tests/__init__.py \"imports oslotest before importing test submodules to setup six.moves for mock\".","commit_id":"fe28a180a56f1e4e61055a5b86d52bc2f3e2aa19"},{"author":{"_account_id":9796,"name":"ChangBo Guo","email":"glongwave@gmail.com","username":"gcb"},"change_message_id":"640d36e9f2dcd2349af22290a61b3119ee26337f","unresolved":false,"context_lines":[{"line_number":10,"context_line":"The third party mock module doesn\u0027t seem to be maintained anymore."},{"line_number":11,"context_line":"This is follow up of 72c501454ea33b603918de35565a66dda8abd66a and"},{"line_number":12,"context_line":"add hacking rule to avoid regression issue."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Note: unittest.mock also detects wrong usage of method"},{"line_number":15,"context_line":"assert_called_once_with."},{"line_number":16,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"1a430d35_f3a14895","line":13,"in_reply_to":"1a430d35_1a650eb4","updated":"2017-02-08 11:16:19.000000000","message":"Done","commit_id":"fe28a180a56f1e4e61055a5b86d52bc2f3e2aa19"}],"oslo_messaging/hacking/checks.py":[{"author":{"_account_id":9107,"name":"Victor Stinner","email":"vstinner@redhat.com","username":"haypo"},"change_message_id":"d13365fbcea21b36c074d7dca301ecf2a1991e66","unresolved":false,"context_lines":[{"line_number":42,"context_line":"        yield(0, msg)"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"def check_mock_imports(logical_line):"},{"line_number":46,"context_line":"    if re.match(mock_imports_directly, logical_line):"},{"line_number":47,"context_line":"        msg \u003d (\"O324: \u0027%s\u0027 must be used instead of \u0027%s\u0027.\") % ("},{"line_number":48,"context_line":"            logical_line.replace(\u0027import mock\u0027, \u0027from six.moves import mock\u0027),"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a430d35_1a3eee8b","line":45,"updated":"2017-02-08 08:46:16.000000000","message":"Can you add a comment somewhere explaining that \"from six.moves import mock\" comes from oslotest?\n\nYou may also mention that oslo_messaging/tests/__init__.py \"imports oslotest before importing test submodules to setup six.moves for mock\".","commit_id":"fe28a180a56f1e4e61055a5b86d52bc2f3e2aa19"},{"author":{"_account_id":9796,"name":"ChangBo Guo","email":"glongwave@gmail.com","username":"gcb"},"change_message_id":"640d36e9f2dcd2349af22290a61b3119ee26337f","unresolved":false,"context_lines":[{"line_number":42,"context_line":"        yield(0, msg)"},{"line_number":43,"context_line":""},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"def check_mock_imports(logical_line):"},{"line_number":46,"context_line":"    if re.match(mock_imports_directly, logical_line):"},{"line_number":47,"context_line":"        msg \u003d (\"O324: \u0027%s\u0027 must be used instead of \u0027%s\u0027.\") % ("},{"line_number":48,"context_line":"            logical_line.replace(\u0027import mock\u0027, \u0027from six.moves import mock\u0027),"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a430d35_d3d44ced","line":45,"in_reply_to":"1a430d35_1a3eee8b","updated":"2017-02-08 11:16:19.000000000","message":"I add comment in oslo_messageing/test/__init__.py","commit_id":"fe28a180a56f1e4e61055a5b86d52bc2f3e2aa19"}]}
