Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Commit 3d27fd0

Browse files
authored
Fix muxing integration tests (#1189)
There seemed to be a race condition between two different commits on the same day, one of which renamed a method and the failure to call the method was shadowed by a try-except. The result was that we couldn't run the muxing integration tests.
1 parent 809c24a commit 3d27fd0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/integration/integration_tests.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ async def _setup_muxing(
231231
provider_endpoint = muxing_config.get("provider_endpoint")
232232
try:
233233
data_with_api_keys = self.replace_env_variables(provider_endpoint["data"], os.environ)
234-
response_create_provider = self.call_codegate(
234+
response_create_provider = self.call_provider(
235235
provider=provider,
236236
url=provider_endpoint["url"],
237237
headers=provider_endpoint["headers"],
@@ -250,7 +250,7 @@ async def _setup_muxing(
250250
mux["provider_id"] = created_provider_endpoint["id"]
251251

252252
# The endpoint actually takes a list
253-
self.call_codegate(
253+
self.call_provider(
254254
provider=provider,
255255
url=muxes_rules["url"],
256256
headers=muxes_rules["headers"],

0 commit comments

Comments
 (0)