)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":7494,"name":"Guangya Liu","email":"gyliu513@gmail.com","username":"JayLau"},"change_message_id":"50fb34eff368612ba4d23d55b4f0f5e26ae47af1","unresolved":false,"context_lines":[{"line_number":9,"context_line":"We give a volume size when create a volume from an snapshot,"},{"line_number":10,"context_line":"but the sheepdog driver ignores the size."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Fix Bug1399598"},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Change-Id: I4310e7ef07e98c002ad3494e623ea243e3aad468"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":5,"id":"3a961159_26602a35","line":12,"updated":"2014-12-07 13:54:24.000000000","message":"Closes-Bug: #1399598","commit_id":"b6d911a3d834ceacb20f49e2d4542e4ae8eaaa1e"},{"author":{"_account_id":5319,"name":"Sam Stoelinga","email":"sammiestoel@gmail.com","username":"sammiestoel"},"change_message_id":"f95a2b7526d841a693ee5f396038e000faa99450","unresolved":false,"context_lines":[{"line_number":9,"context_line":"We give a volume size when create a volume from an snapshot,"},{"line_number":10,"context_line":"but the sheepdog driver ignores the size."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Fix Bug1399598"},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Change-Id: I4310e7ef07e98c002ad3494e623ea243e3aad468"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":5,"id":"3a961159_e6762206","line":12,"updated":"2014-12-07 14:18:43.000000000","message":"If this fixes the bug you should use the following format: Closes-Bug: #1399598\n\nSee more info here: https://wiki.openstack.org/wiki/GitCommitMessages","commit_id":"b6d911a3d834ceacb20f49e2d4542e4ae8eaaa1e"},{"author":{"_account_id":7805,"name":"Li Ma","email":"skywalker.nick@gmail.com","username":"Nick"},"change_message_id":"46ed4899ffa83014b8d677b4fcfdd0617e4cf6bc","unresolved":false,"context_lines":[{"line_number":9,"context_line":"We give a volume size when create a volume from an snapshot,"},{"line_number":10,"context_line":"but the sheepdog driver ignores the size."},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"Fix Bug1399598"},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Change-Id: I4310e7ef07e98c002ad3494e623ea243e3aad468"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":6,"id":"3a961159_4d10b9ab","line":12,"updated":"2015-01-13 01:36:08.000000000","message":"Please change this line to Closes-Bug: #1399598","commit_id":"6551421b8fd0cbc938155647d097aaa9052d5a4e"}],"cinder/tests/test_sheepdog.py":[{"author":{"_account_id":7219,"name":"git-harry","email":"git-harry@live.co.uk","username":"git-harry"},"change_message_id":"87e159de20254edf4a0dc82f4b1d15f29a220029","unresolved":false,"context_lines":[{"line_number":161,"context_line":"                                        fake_snapshot[\u0027name\u0027]),"},{"line_number":162,"context_line":"                    \"sheepdog:%s\" % fake_vol[\u0027name\u0027],"},{"line_number":163,"context_line":"                    \"%sG\" % fake_vol[\u0027size\u0027]]"},{"line_number":164,"context_line":"            self.assertTrue(args, mock_exe.call_args)"}],"source_content_type":"text/x-python","patch_set":8,"id":"3a961159_b0c885a9","line":164,"updated":"2015-01-13 10:31:48.000000000","message":"This doesn\u0027t work, assertTrue tests whether or not args is true and mock_exe.call_args is a message.\n\nI think the following should do what you want:\nmock_exe.assert_called_once_with(*args)\n\n\nhttps://docs.python.org/2/library/unittest.html#unittest.TestCase.assertTrue\nhttps://docs.python.org/3/library/unittest.mock.html#unittest.mock.Mock.assert_called_once_with","commit_id":"11c09c6e46844496b83686b586217517cab120d3"}]}
