We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d424168 commit 8168034Copy full SHA for 8168034
tests/pytest/test_utils.py
@@ -199,5 +199,5 @@ async def test_logger_called_even_when_processor_fails_to_initialize(
199
async for result in rollout_processor_with_retry(mock_rollout_processor, sample_dataset, mock_config):
200
pass
201
202
- # Verify cleanup was called even though the function failed
203
- mock_rollout_processor.cleanup.assert_called_once()
+ # Verify async cleanup was called even though the function failed
+ mock_rollout_processor.aclose.assert_awaited_once()
0 commit comments