)]}'
{"smaug/tests/unit/objects/__init__.py":[{"author":{"_account_id":16203,"name":"zengyingzhe","email":"zengyingzhe@huawei.com","username":"zengyingzhe"},"change_message_id":"4f95fe5b49a4eb52fd201d1b8a10954c259045d3","unresolved":false,"context_lines":[{"line_number":34,"context_line":"            if not hasattr(obj, field):\r"},{"line_number":35,"context_line":"                continue\r"},{"line_number":36,"context_line":"\r"},{"line_number":37,"context_line":"            if isinstance(obj.fields[field], fields.DateTimeField) and \\\r"},{"line_number":38,"context_line":"               db[field]:\r"},{"line_number":39,"context_line":"                test.assertEqual(db[field],\r"},{"line_number":40,"context_line":"                                 timeutils.normalize_time(obj[field]))\r"},{"line_number":41,"context_line":"            elif isinstance(obj[field], obj_base.ObjectListBase):\r"}],"source_content_type":"text/x-python","patch_set":4,"id":"bae84128_0205dc44","line":38,"range":{"start_line":37,"start_character":15,"end_line":38,"end_character":24},"updated":"2016-02-23 03:21:59.000000000","message":"Could parenthesize this and logic by (), which would be better than using backslash \\.","commit_id":"338207f89595f8fc992f94cd6be5101fd0adaa72"},{"author":{"_account_id":18266,"name":"zengchen","email":"chenzeng2@huawei.com","username":"zengchen"},"change_message_id":"6bddf1e4ccc3c189a94acb187b5d76528da55f9c","unresolved":false,"context_lines":[{"line_number":34,"context_line":"            if not hasattr(obj, field):\r"},{"line_number":35,"context_line":"                continue\r"},{"line_number":36,"context_line":"\r"},{"line_number":37,"context_line":"            if isinstance(obj.fields[field], fields.DateTimeField) and \\\r"},{"line_number":38,"context_line":"               db[field]:\r"},{"line_number":39,"context_line":"                test.assertEqual(db[field],\r"},{"line_number":40,"context_line":"                                 timeutils.normalize_time(obj[field]))\r"},{"line_number":41,"context_line":"            elif isinstance(obj[field], obj_base.ObjectListBase):\r"}],"source_content_type":"text/x-python","patch_set":4,"id":"bae84128_83953534","line":38,"range":{"start_line":37,"start_character":15,"end_line":38,"end_character":24},"in_reply_to":"bae84128_0205dc44","updated":"2016-02-24 02:50:30.000000000","message":"great! thanks.","commit_id":"338207f89595f8fc992f94cd6be5101fd0adaa72"}],"smaug/tests/unit/objects/test_scheduled_operation_log.py":[{"author":{"_account_id":13070,"name":"Eran Gampel","email":"eran@gampel.net","username":"Gampel"},"change_message_id":"1e89526cd2a4b9abe59e90be314248bbbb2b1755","unresolved":false,"context_lines":[{"line_number":36,"context_line":"}\r"},{"line_number":37,"context_line":"\r"},{"line_number":38,"context_line":"\r"},{"line_number":39,"context_line":"class TestScheduledOperationLog(test_objects.BaseObjectsTestCase):\r"},{"line_number":40,"context_line":"    Log_Class \u003d objects.ScheduledOperationLog\r"},{"line_number":41,"context_line":"\r"},{"line_number":42,"context_line":"    @mock.patch(\u0027smaug.db.scheduled_operation_log_get\u0027)\r"}],"source_content_type":"text/x-python","patch_set":4,"id":"bae84128_e2943844","line":39,"range":{"start_line":39,"start_character":6,"end_line":39,"end_character":31},"updated":"2016-02-23 03:37:37.000000000","message":"Please consider using  def setUp(self):\nand setting up the common \ndb_log \u003d ... \nand log_get.return_value","commit_id":"338207f89595f8fc992f94cd6be5101fd0adaa72"},{"author":{"_account_id":18266,"name":"zengchen","email":"chenzeng2@huawei.com","username":"zengchen"},"change_message_id":"6bddf1e4ccc3c189a94acb187b5d76528da55f9c","unresolved":false,"context_lines":[{"line_number":36,"context_line":"}\r"},{"line_number":37,"context_line":"\r"},{"line_number":38,"context_line":"\r"},{"line_number":39,"context_line":"class TestScheduledOperationLog(test_objects.BaseObjectsTestCase):\r"},{"line_number":40,"context_line":"    Log_Class \u003d objects.ScheduledOperationLog\r"},{"line_number":41,"context_line":"\r"},{"line_number":42,"context_line":"    @mock.patch(\u0027smaug.db.scheduled_operation_log_get\u0027)\r"}],"source_content_type":"text/x-python","patch_set":4,"id":"bae84128_63775102","line":39,"range":{"start_line":39,"start_character":6,"end_line":39,"end_character":31},"in_reply_to":"bae84128_e2943844","updated":"2016-02-24 02:50:30.000000000","message":"Done","commit_id":"338207f89595f8fc992f94cd6be5101fd0adaa72"},{"author":{"_account_id":13070,"name":"Eran Gampel","email":"eran@gampel.net","username":"Gampel"},"change_message_id":"1e89526cd2a4b9abe59e90be314248bbbb2b1755","unresolved":false,"context_lines":[{"line_number":40,"context_line":"    Log_Class \u003d objects.ScheduledOperationLog\r"},{"line_number":41,"context_line":"\r"},{"line_number":42,"context_line":"    @mock.patch(\u0027smaug.db.scheduled_operation_log_get\u0027)\r"},{"line_number":43,"context_line":"    def test_get_by_id(self, log_get):\r"},{"line_number":44,"context_line":"        db_log \u003d Fake_Log\r"},{"line_number":45,"context_line":"        log_get.return_value \u003d db_log\r"},{"line_number":46,"context_line":"\r"}],"source_content_type":"text/x-python","patch_set":4,"id":"bae84128_e54a8225","line":43,"range":{"start_line":43,"start_character":8,"end_line":43,"end_character":22},"updated":"2016-02-23 03:37:37.000000000","message":"please add a test for no_existing_id","commit_id":"338207f89595f8fc992f94cd6be5101fd0adaa72"},{"author":{"_account_id":18266,"name":"zengchen","email":"chenzeng2@huawei.com","username":"zengchen"},"change_message_id":"6bddf1e4ccc3c189a94acb187b5d76528da55f9c","unresolved":false,"context_lines":[{"line_number":40,"context_line":"    Log_Class \u003d objects.ScheduledOperationLog\r"},{"line_number":41,"context_line":"\r"},{"line_number":42,"context_line":"    @mock.patch(\u0027smaug.db.scheduled_operation_log_get\u0027)\r"},{"line_number":43,"context_line":"    def test_get_by_id(self, log_get):\r"},{"line_number":44,"context_line":"        db_log \u003d Fake_Log\r"},{"line_number":45,"context_line":"        log_get.return_value \u003d db_log\r"},{"line_number":46,"context_line":"\r"}],"source_content_type":"text/x-python","patch_set":4,"id":"bae84128_43720d12","line":43,"range":{"start_line":43,"start_character":8,"end_line":43,"end_character":22},"in_reply_to":"bae84128_e54a8225","updated":"2016-02-24 02:50:30.000000000","message":"Done","commit_id":"338207f89595f8fc992f94cd6be5101fd0adaa72"},{"author":{"_account_id":13070,"name":"Eran Gampel","email":"eran@gampel.net","username":"Gampel"},"change_message_id":"1e89526cd2a4b9abe59e90be314248bbbb2b1755","unresolved":false,"context_lines":[{"line_number":49,"context_line":"        log_get.assert_called_once_with(self.context, Log_ID)\r"},{"line_number":50,"context_line":"\r"},{"line_number":51,"context_line":"    @mock.patch(\u0027smaug.db.scheduled_operation_log_create\u0027)\r"},{"line_number":52,"context_line":"    def test_create(self, log_create):\r"},{"line_number":53,"context_line":"        db_log \u003d Fake_Log\r"},{"line_number":54,"context_line":"        log_create.return_value \u003d db_log\r"},{"line_number":55,"context_line":"\r"}],"source_content_type":"text/x-python","patch_set":4,"id":"bae84128_a5299a39","line":52,"range":{"start_line":52,"start_character":8,"end_line":52,"end_character":19},"updated":"2016-02-23 03:37:37.000000000","message":"Consider adding test for exception all ready created","commit_id":"338207f89595f8fc992f94cd6be5101fd0adaa72"},{"author":{"_account_id":18266,"name":"zengchen","email":"chenzeng2@huawei.com","username":"zengchen"},"change_message_id":"6bddf1e4ccc3c189a94acb187b5d76528da55f9c","unresolved":false,"context_lines":[{"line_number":49,"context_line":"        log_get.assert_called_once_with(self.context, Log_ID)\r"},{"line_number":50,"context_line":"\r"},{"line_number":51,"context_line":"    @mock.patch(\u0027smaug.db.scheduled_operation_log_create\u0027)\r"},{"line_number":52,"context_line":"    def test_create(self, log_create):\r"},{"line_number":53,"context_line":"        db_log \u003d Fake_Log\r"},{"line_number":54,"context_line":"        log_create.return_value \u003d db_log\r"},{"line_number":55,"context_line":"\r"}],"source_content_type":"text/x-python","patch_set":4,"id":"bae84128_a3631941","line":52,"range":{"start_line":52,"start_character":8,"end_line":52,"end_character":19},"in_reply_to":"bae84128_a5299a39","updated":"2016-02-24 02:50:30.000000000","message":"Done","commit_id":"338207f89595f8fc992f94cd6be5101fd0adaa72"}]}
