)]}'
{"manila/tests/share/test_migration.py":[{"author":{"_account_id":16203,"name":"zengyingzhe","email":"zengyingzhe@huawei.com","username":"zengyingzhe"},"change_message_id":"ebb34d3d50c72f564c2cba965ca03278e4ee2500","unresolved":false,"context_lines":[{"line_number":404,"context_line":"            self.share_instance, server, share_driver)"},{"line_number":405,"context_line":""},{"line_number":406,"context_line":"        if exc:"},{"line_number":407,"context_line":"            self.assertTrue(migration.LOG.warning.called)"}],"source_content_type":"text/x-python","patch_set":1,"id":"9a89bdaa_b773a1b3","line":407,"updated":"2016-09-12 02:33:45.000000000","message":"I think it would be better to get the mock object of migration.LOG.warning above, and use assert_called_once_with instead.","commit_id":"a4a2f0fac2d25e77ffabc3945e70beed53d18668"},{"author":{"_account_id":16643,"name":"Goutham Pacha Ravi","email":"gouthampravi@gmail.com","username":"gouthamr"},"change_message_id":"53131ce923441631f0c1bd9f221ab8462f358d31","unresolved":false,"context_lines":[{"line_number":404,"context_line":"            self.share_instance, server, share_driver)"},{"line_number":405,"context_line":""},{"line_number":406,"context_line":"        if exc:"},{"line_number":407,"context_line":"            self.assertTrue(migration.LOG.warning.called)"}],"source_content_type":"text/x-python","patch_set":1,"id":"9a89bdaa_51b68ef9","line":407,"in_reply_to":"9a89bdaa_b18aa3bd","updated":"2016-09-13 10:55:31.000000000","message":"Not really, that would be:\n\n self.assertEqual(1, migration.LOG.warning.call_count)","commit_id":"a4a2f0fac2d25e77ffabc3945e70beed53d18668"},{"author":{"_account_id":14567,"name":"Rodrigo Barbieri","email":"rodrigo.barbieri2010@gmail.com","username":"ganso"},"change_message_id":"f552ccd41b2eb522cbfc25fd116c33657ca45de4","unresolved":false,"context_lines":[{"line_number":404,"context_line":"            self.share_instance, server, share_driver)"},{"line_number":405,"context_line":""},{"line_number":406,"context_line":"        if exc:"},{"line_number":407,"context_line":"            self.assertTrue(migration.LOG.warning.called)"}],"source_content_type":"text/x-python","patch_set":1,"id":"9a89bdaa_b18aa3bd","line":407,"in_reply_to":"9a89bdaa_b773a1b3","updated":"2016-09-12 17:12:15.000000000","message":"it would be an assert_called_once_with(mock.ANY), so it is equivalent.","commit_id":"a4a2f0fac2d25e77ffabc3945e70beed53d18668"}]}
