Skip to content

Commit 96653ff

Browse files
authored
Merge pull request #548 from Labelbox/jt/al-2173
[AL-2173] Update to on-prem test case input
2 parents eb721ac + 9c23fb2 commit 96653ff

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/integration/conftest.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,7 @@ def graphql_url(environ: str) -> str:
5151
hostname = os.environ.get('LABELBOX_TEST_ONPREM_HOSTNAME', None)
5252
if hostname is None:
5353
raise Exception(f"Missing LABELBOX_TEST_ONPREM_INSTANCE")
54-
instance_id = hostname.split("-")[1].split(".")[0]
55-
return f"https://app.replicated-{instance_id}.labelbox.dev/api/_gql"
54+
return f"{hostname}/api/_gql"
5655
return 'http://host.docker.internal:8080/graphql'
5756

5857

0 commit comments

Comments
 (0)