)]}'
{"networking_odl/tests/unit/db/test_db.py":[{"author":{"_account_id":7921,"name":"Mike Kolesnik","email":"mkolesni@redhat.com","username":"mkolesni"},"change_message_id":"7b97a5d04086a7845884bc856d53bcb32052b0fa","unresolved":false,"context_lines":[{"line_number":34,"context_line":"        # be found in the end. The line below workarounds this limitation."},{"line_number":35,"context_line":"        self._mock_function \u003d mock.MagicMock()"},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"    def _update_row(self, context, row):"},{"line_number":38,"context_line":"        context.session.merge(row)"},{"line_number":39,"context_line":"        context.session.flush()"},{"line_number":40,"context_line":""}],"source_content_type":"text/x-python","patch_set":9,"id":"5f7c97a3_3398f1ca","line":37,"range":{"start_line":37,"start_character":4,"end_line":37,"end_character":40},"updated":"2018-06-18 13:13:12.000000000","message":"This change seems unnecessary, you\u0027re always sending self.db_context anyway..","commit_id":"667892b0e0f6ce2c0d18dab0f7b04063ac9de542"},{"author":{"_account_id":26507,"name":"Michel Peterson","email":"michel@redhat.com","username":"mpeterson"},"change_message_id":"8014c9a252b69e85681b3377d41d2ac0647ba7fc","unresolved":false,"context_lines":[{"line_number":34,"context_line":"        # be found in the end. The line below workarounds this limitation."},{"line_number":35,"context_line":"        self._mock_function \u003d mock.MagicMock()"},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"    def _update_row(self, context, row):"},{"line_number":38,"context_line":"        context.session.merge(row)"},{"line_number":39,"context_line":"        context.session.flush()"},{"line_number":40,"context_line":""}],"source_content_type":"text/x-python","patch_set":9,"id":"5f7c97a3_b4c3558a","line":37,"range":{"start_line":37,"start_character":4,"end_line":37,"end_character":40},"in_reply_to":"5f7c97a3_3398f1ca","updated":"2018-06-20 09:08:49.000000000","message":"Done","commit_id":"667892b0e0f6ce2c0d18dab0f7b04063ac9de542"},{"author":{"_account_id":7921,"name":"Mike Kolesnik","email":"mkolesni@redhat.com","username":"mkolesni"},"change_message_id":"7b97a5d04086a7845884bc856d53bcb32052b0fa","unresolved":false,"context_lines":[{"line_number":137,"context_line":"                                    state\u003dodl_const.PROCESSING)"},{"line_number":138,"context_line":""},{"line_number":139,"context_line":"    def test_get_oldest_pending_row_none_when_no_rows(self):"},{"line_number":140,"context_line":"        with db_api.context_manager.writer.using(self.db_context):"},{"line_number":141,"context_line":"            row \u003d db.get_oldest_pending_db_row_with_lock(self.db_context)"},{"line_number":142,"context_line":"            self.assertIsNone(row)"},{"line_number":143,"context_line":""}],"source_content_type":"text/x-python","patch_set":9,"id":"5f7c97a3_b394018e","line":140,"range":{"start_line":140,"start_character":8,"end_line":140,"end_character":66},"updated":"2018-06-18 13:13:12.000000000","message":"Do you think this can be a \"test only\" decorator that will save us from indenting a lot of functions needlessly? :)","commit_id":"667892b0e0f6ce2c0d18dab0f7b04063ac9de542"},{"author":{"_account_id":26507,"name":"Michel Peterson","email":"michel@redhat.com","username":"mpeterson"},"change_message_id":"8014c9a252b69e85681b3377d41d2ac0647ba7fc","unresolved":false,"context_lines":[{"line_number":137,"context_line":"                                    state\u003dodl_const.PROCESSING)"},{"line_number":138,"context_line":""},{"line_number":139,"context_line":"    def test_get_oldest_pending_row_none_when_no_rows(self):"},{"line_number":140,"context_line":"        with db_api.context_manager.writer.using(self.db_context):"},{"line_number":141,"context_line":"            row \u003d db.get_oldest_pending_db_row_with_lock(self.db_context)"},{"line_number":142,"context_line":"            self.assertIsNone(row)"},{"line_number":143,"context_line":""}],"source_content_type":"text/x-python","patch_set":9,"id":"5f7c97a3_4f3347f7","line":140,"range":{"start_line":140,"start_character":8,"end_line":140,"end_character":66},"in_reply_to":"5f7c97a3_b394018e","updated":"2018-06-20 09:08:49.000000000","message":"Done","commit_id":"667892b0e0f6ce2c0d18dab0f7b04063ac9de542"},{"author":{"_account_id":7921,"name":"Mike Kolesnik","email":"mkolesni@redhat.com","username":"mkolesni"},"change_message_id":"42b584bad9cd800d1924566607fbac81f58e2bfd","unresolved":false,"context_lines":[{"line_number":334,"context_line":""},{"line_number":335,"context_line":"        row \u003d db.get_all_db_rows(self.db_context)[-1]"},{"line_number":336,"context_line":"        row.state \u003d expected_state"},{"line_number":337,"context_line":"        row.last_retried \u003d \\"},{"line_number":338,"context_line":"            row.last_retried - timedelta(seconds\u003dlast_retried)"},{"line_number":339,"context_line":"        self._update_row(row)"},{"line_number":340,"context_line":""},{"line_number":341,"context_line":"        if not dry_reset:"}],"source_content_type":"text/x-python","patch_set":10,"id":"5f7c97a3_2cab4771","line":338,"range":{"start_line":337,"start_character":27,"end_line":338,"end_character":12},"updated":"2018-07-05 10:56:01.000000000","message":"Not necessary anymore","commit_id":"9b4624159fdc75af884baca9263dc7c9250883ef"},{"author":{"_account_id":26507,"name":"Michel Peterson","email":"michel@redhat.com","username":"mpeterson"},"change_message_id":"12e38be54bd1cb637b197b8d60dc38a47f991714","unresolved":false,"context_lines":[{"line_number":334,"context_line":""},{"line_number":335,"context_line":"        row \u003d db.get_all_db_rows(self.db_context)[-1]"},{"line_number":336,"context_line":"        row.state \u003d expected_state"},{"line_number":337,"context_line":"        row.last_retried \u003d \\"},{"line_number":338,"context_line":"            row.last_retried - timedelta(seconds\u003dlast_retried)"},{"line_number":339,"context_line":"        self._update_row(row)"},{"line_number":340,"context_line":""},{"line_number":341,"context_line":"        if not dry_reset:"}],"source_content_type":"text/x-python","patch_set":10,"id":"5f7c97a3_2a58def6","line":338,"range":{"start_line":337,"start_character":27,"end_line":338,"end_character":12},"in_reply_to":"5f7c97a3_2cab4771","updated":"2018-07-08 14:44:09.000000000","message":"Done","commit_id":"9b4624159fdc75af884baca9263dc7c9250883ef"},{"author":{"_account_id":7921,"name":"Mike Kolesnik","email":"mkolesni@redhat.com","username":"mkolesni"},"change_message_id":"42b584bad9cd800d1924566607fbac81f58e2bfd","unresolved":false,"context_lines":[{"line_number":340,"context_line":""},{"line_number":341,"context_line":"        if not dry_reset:"},{"line_number":342,"context_line":"            expected_state \u003d odl_const.PENDING"},{"line_number":343,"context_line":"            reset \u003d \\"},{"line_number":344,"context_line":"                db.reset_processing_rows(self.db_context, max_timedelta)"},{"line_number":345,"context_line":"            self.assertIsInstance(reset, int)"},{"line_number":346,"context_line":"            self.assertEqual(reset, quantity)"},{"line_number":347,"context_line":""}],"source_content_type":"text/x-python","patch_set":10,"id":"5f7c97a3_0cc68b4a","line":344,"range":{"start_line":343,"start_character":20,"end_line":344,"end_character":16},"updated":"2018-07-05 10:56:01.000000000","message":"Not necessary anymore","commit_id":"9b4624159fdc75af884baca9263dc7c9250883ef"},{"author":{"_account_id":26507,"name":"Michel Peterson","email":"michel@redhat.com","username":"mpeterson"},"change_message_id":"12e38be54bd1cb637b197b8d60dc38a47f991714","unresolved":false,"context_lines":[{"line_number":340,"context_line":""},{"line_number":341,"context_line":"        if not dry_reset:"},{"line_number":342,"context_line":"            expected_state \u003d odl_const.PENDING"},{"line_number":343,"context_line":"            reset \u003d \\"},{"line_number":344,"context_line":"                db.reset_processing_rows(self.db_context, max_timedelta)"},{"line_number":345,"context_line":"            self.assertIsInstance(reset, int)"},{"line_number":346,"context_line":"            self.assertEqual(reset, quantity)"},{"line_number":347,"context_line":""}],"source_content_type":"text/x-python","patch_set":10,"id":"5f7c97a3_ca728a7c","line":344,"range":{"start_line":343,"start_character":20,"end_line":344,"end_character":16},"in_reply_to":"5f7c97a3_0cc68b4a","updated":"2018-07-08 14:44:09.000000000","message":"Done","commit_id":"9b4624159fdc75af884baca9263dc7c9250883ef"}],"networking_odl/tests/unit/journal/test_journal.py":[{"author":{"_account_id":7921,"name":"Mike Kolesnik","email":"mkolesni@redhat.com","username":"mkolesni"},"change_message_id":"42b584bad9cd800d1924566607fbac81f58e2bfd","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":10,"id":"5f7c97a3_2c7d871d","updated":"2018-07-05 10:56:01.000000000","message":"Please use @in_session","commit_id":"9b4624159fdc75af884baca9263dc7c9250883ef"},{"author":{"_account_id":26507,"name":"Michel Peterson","email":"michel@redhat.com","username":"mpeterson"},"change_message_id":"12e38be54bd1cb637b197b8d60dc38a47f991714","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":10,"id":"5f7c97a3_eaf2e6e2","in_reply_to":"5f7c97a3_2c7d871d","updated":"2018-07-08 14:44:09.000000000","message":"Done","commit_id":"9b4624159fdc75af884baca9263dc7c9250883ef"}],"networking_odl/tests/unit/journal/test_recovery.py":[{"author":{"_account_id":7921,"name":"Mike Kolesnik","email":"mkolesni@redhat.com","username":"mkolesni"},"change_message_id":"42b584bad9cd800d1924566607fbac81f58e2bfd","unresolved":false,"context_lines":[{"line_number":110,"context_line":"        self.assertFalse(self._CLIENT.get_resource.called)"},{"line_number":111,"context_line":""},{"line_number":112,"context_line":"    def _test_recovery(self, operation, odl_resource, expected_state):"},{"line_number":113,"context_line":"        with db_api.context_manager.writer.using(self.db_context):"},{"line_number":114,"context_line":"            db.create_pending_row(self.db_context, odl_const.ODL_NETWORK,"},{"line_number":115,"context_line":"                                  \u0027id\u0027, operation, {})"},{"line_number":116,"context_line":"            created_row \u003d db.get_all_db_rows(self.db_context)[0]"}],"source_content_type":"text/x-python","patch_set":10,"id":"5f7c97a3_ccbf33c8","line":113,"range":{"start_line":113,"start_character":0,"end_line":113,"end_character":66},"updated":"2018-07-05 10:56:01.000000000","message":"Please use @in_session","commit_id":"9b4624159fdc75af884baca9263dc7c9250883ef"},{"author":{"_account_id":26507,"name":"Michel Peterson","email":"michel@redhat.com","username":"mpeterson"},"change_message_id":"12e38be54bd1cb637b197b8d60dc38a47f991714","unresolved":false,"context_lines":[{"line_number":110,"context_line":"        self.assertFalse(self._CLIENT.get_resource.called)"},{"line_number":111,"context_line":""},{"line_number":112,"context_line":"    def _test_recovery(self, operation, odl_resource, expected_state):"},{"line_number":113,"context_line":"        with db_api.context_manager.writer.using(self.db_context):"},{"line_number":114,"context_line":"            db.create_pending_row(self.db_context, odl_const.ODL_NETWORK,"},{"line_number":115,"context_line":"                                  \u0027id\u0027, operation, {})"},{"line_number":116,"context_line":"            created_row \u003d db.get_all_db_rows(self.db_context)[0]"}],"source_content_type":"text/x-python","patch_set":10,"id":"5f7c97a3_8afd72b3","line":113,"range":{"start_line":113,"start_character":0,"end_line":113,"end_character":66},"in_reply_to":"5f7c97a3_ccbf33c8","updated":"2018-07-08 14:44:09.000000000","message":"Done","commit_id":"9b4624159fdc75af884baca9263dc7c9250883ef"}]}
