Allow for path based runtimes in the SAAS environment (#10518)

Co-authored-by: openhands <openhands@all-hands.dev>
This commit is contained in:
chuckbutkus
2025-08-25 14:31:07 -04:00
committed by GitHub
parent e7aae1495c
commit 7fbcb29499
8 changed files with 87 additions and 22 deletions

View File

@@ -80,7 +80,7 @@ class TestLocalRuntime:
env_vars = {
'RUNTIME_URL_PATTERN': 'http://runtime-{runtime_id}.example.com',
'HOSTNAME': 'runtime-abc123-xyz',
'RUNTIME_ID': 'abc123',
}
with patch.dict(os.environ, env_vars, clear=True):
# Call the actual runtime_url property