@@ -69,29 +69,29 @@ class URLTestCase:
6969 URLTestCase (
7070 description = "non UNST domain client-level URL, no path" ,
7171 sdk_endpoint_name = "general.partition_async" ,
72- client_url = "http://localhost:8000" ,
72+ client_url = "http://localhost:8000/ " ,
7373 endpoint_url = None ,
7474 expected_url = "http://localhost:8000"
7575 ),
7676 URLTestCase (
7777 description = "non UNST domain client-level URL, with path" ,
7878 sdk_endpoint_name = "general.partition_async" ,
79- client_url = "http://localhost:8000/my/endpoint" ,
79+ client_url = "http://localhost:8000/my/endpoint/ " ,
8080 endpoint_url = None ,
8181 expected_url = "http://localhost:8000/my/endpoint"
8282 ),
8383 URLTestCase (
8484 description = "non UNST domain endpoint-level URL, no path" ,
8585 sdk_endpoint_name = "general.partition_async" ,
8686 client_url = None ,
87- endpoint_url = "http://localhost:8000" ,
87+ endpoint_url = "http://localhost:8000/ " ,
8888 expected_url = "http://localhost:8000"
8989 ),
9090 URLTestCase (
9191 description = "non UNST domain endpoint-level URL, with path" ,
9292 sdk_endpoint_name = "general.partition_async" ,
9393 client_url = None ,
94- endpoint_url = "http://localhost:8000/my/endpoint" ,
94+ endpoint_url = "http://localhost:8000/my/endpoint/ " ,
9595 expected_url = "http://localhost:8000/my/endpoint"
9696 ),
9797 URLTestCase (
@@ -162,28 +162,28 @@ async def test_async_endpoint_uses_correct_url(monkeypatch, case: URLTestCase):
162162 [
163163 URLTestCase (
164164 description = "non UNST domain client-level URL, no path" ,
165- sdk_endpoint_name = "general.partition " ,
166- client_url = "http://localhost:8000" ,
165+ sdk_endpoint_name = "destinations.create_destination " ,
166+ client_url = "http://localhost:8000/ " ,
167167 endpoint_url = None ,
168168 expected_url = "http://localhost:8000"
169169 ),
170170 URLTestCase (
171171 description = "non UNST domain client-level URL, with path" ,
172- sdk_endpoint_name = "general.partition " ,
173- client_url = "http://localhost:8000/my/endpoint" ,
172+ sdk_endpoint_name = "sources.create_source " ,
173+ client_url = "http://localhost:8000/my/endpoint/ " ,
174174 endpoint_url = None ,
175175 expected_url = "http://localhost:8000/my/endpoint"
176176 ),
177177 URLTestCase (
178178 description = "non UNST domain endpoint-level URL, no path" ,
179- sdk_endpoint_name = "general.partition " ,
179+ sdk_endpoint_name = "jobs.get_job " ,
180180 client_url = None ,
181181 endpoint_url = "http://localhost:8000" ,
182182 expected_url = "http://localhost:8000"
183183 ),
184184 URLTestCase (
185185 description = "non UNST domain endpoint-level URL, with path" ,
186- sdk_endpoint_name = "general.partition " ,
186+ sdk_endpoint_name = "workflows.create_workflow " ,
187187 client_url = None ,
188188 endpoint_url = "http://localhost:8000/my/endpoint" ,
189189 expected_url = "http://localhost:8000/my/endpoint"
0 commit comments