We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c56deda commit 2c0e04bCopy full SHA for 2c0e04b
1 file changed
tests/test_serverless/test_worker.py
@@ -268,7 +268,11 @@ async def test_run_worker_generator_handler_exception(
268
generator_config = {
269
"handler": generator_handler_exception, "refresh_worker": True}
270
271
- # os.environ.pop("RUNPOD_ENDPOINT_ID")
+ try:
272
+ os.environ.pop("RUNPOD_ENDPOINT_ID")
273
+ except KeyError:
274
+ pass
275
+
276
runpod.serverless.start(generator_config)
277
278
assert mock_stream_result.call_count == 1
0 commit comments