mirror of
https://github.com/OpenHands/OpenHands.git
synced 2026-03-22 13:47:19 +08:00
Allow for path based runtimes in the SAAS environment (#10518)
Co-authored-by: openhands <openhands@all-hands.dev>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user