File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -149,6 +149,8 @@ async def test_connection_uri_has_http_prefix_if_localhost(app: TestClient):
149
149
res = app .get (url = "/auth/dashboard" )
150
150
assert res .status_code == 200
151
151
assert f'window.connectionURI = "{ connection_uri } "' in str (res .text )
152
+ if st_config :
153
+ st_config .connection_uri = "http://localhost:3567"
152
154
153
155
154
156
async def test_connection_uri_has_https_prefix_if_not_localhost (app : TestClient ):
@@ -172,6 +174,8 @@ async def test_connection_uri_has_https_prefix_if_not_localhost(app: TestClient)
172
174
res = app .get (url = "/auth/dashboard" )
173
175
assert res .status_code == 200
174
176
assert f'window.connectionURI = "{ connection_uri } "' in str (res .text )
177
+ if st_config :
178
+ st_config .connection_uri = "http://localhost:3567"
175
179
176
180
177
181
async def test_that_first_connection_uri_is_selected_among_multiple_uris (
@@ -197,3 +201,5 @@ async def test_that_first_connection_uri_is_selected_among_multiple_uris(
197
201
res = app .get (url = "/auth/dashboard" )
198
202
assert res .status_code == 200
199
203
assert f'window.connectionURI = "{ first_connection_uri } "' in str (res .text )
204
+ if st_config :
205
+ st_config .connection_uri = "http://localhost:3567"
You can’t perform that action at this time.
0 commit comments