We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a65186 commit df1e281Copy full SHA for df1e281
1 file changed
backend/tests/unit/services/test_execution_service.py
@@ -396,6 +396,7 @@ async def test_start_k8s_execution_success(self,
396
mock_k8s_service.create_execution_pod = AsyncMock()
397
398
with patch('asyncio.create_task') as mock_create_task:
399
+ mock_create_task.return_value = AsyncMock()
400
await execution_service._start_k8s_execution(execution_id, script, lang, lang_version)
401
402
mock_k8s_service.create_execution_pod.assert_called_once()
0 commit comments