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):
149149 res = app .get (url = "/auth/dashboard" )
150150 assert res .status_code == 200
151151 assert f'window.connectionURI = "{ connection_uri } "' in str (res .text )
152+ if st_config :
153+ st_config .connection_uri = "http://localhost:3567"
152154
153155
154156async 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)
172174 res = app .get (url = "/auth/dashboard" )
173175 assert res .status_code == 200
174176 assert f'window.connectionURI = "{ connection_uri } "' in str (res .text )
177+ if st_config :
178+ st_config .connection_uri = "http://localhost:3567"
175179
176180
177181async 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(
197201 res = app .get (url = "/auth/dashboard" )
198202 assert res .status_code == 200
199203 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