We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 363b566 commit a4bd0a6Copy full SHA for a4bd0a6
tests/test_serverless/test_worker.py
@@ -267,9 +267,9 @@ async def test_run_worker_generator_handler_exception(
267
# Test generator handler
268
generator_config = {
269
"handler": generator_handler_exception, "refresh_worker": True}
270
- os.environ["RUNPOD_ENDPOINT_ID"] = "test_endpoint_id"
271
- runpod.serverless.start(generator_config)
+
272
os.environ.pop("RUNPOD_ENDPOINT_ID")
+ runpod.serverless.start(generator_config)
273
274
assert mock_stream_result.call_count == 1
275
assert not mock_run_job.called
0 commit comments