Fix the execution of the test file executing all the tests.
@@ -86,6 +86,7 @@ class TestSendingProcess:
sp._audit = AuditLogger(mockStorageClient)
# Good Case
+ with patch.object(asyncio, 'get_event_loop', return_value=event_loop):
with patch.object(sp, '_last_object_id_read', return_value=mock_last_object_id_read()):
with patch.object(sp, '_load_data_into_memory', return_value=mock_load_data_into_memory()):
@@ -101,6 +102,7 @@ class TestSendingProcess:
mocked_update_statistics.assert_called_once_with(p_num_sent, STREAM_ID)
# Bad Case
+ with patch.object(asyncio, 'get_event_loop', return_value=event_loop):
with patch.object(sp, '_last_object_id_read', return_value=mock_last_object_id_read()):
with patch.object(sp, '_load_data_into_memory', return_value=mock_load_data_into_memory()):
