We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d475f6 commit ae9b863Copy full SHA for ae9b863
1 file changed
tests/test_serverless/test_worker.py
@@ -470,9 +470,9 @@ async def test_run_worker_with_sls_core(self):
470
'''
471
Test run_worker with sls-core.
472
473
- os.environ["RUNPOD_USE_CORE"] = "true"
474
-
475
with patch("runpod.serverless.core.main") as mock_main:
+ os.environ["RUNPOD_USE_CORE"] = "true"
476
runpod.serverless.start(self.config)
+ os.environ.pop("RUNPOD_USE_CORE")
477
478
assert mock_main.called
0 commit comments