Skip to content

Commit 55aacaa

Browse files
committed
test: Fix failing passwordless tests
1 parent 1305142 commit 55aacaa

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

supertokens_python/recipe/passwordless/recipe_implementation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ async def get_user_by_phone_number(
206206
) -> Union[User, None]:
207207
param = {"phoneNumber": phone_number}
208208
result = await self.querier.send_get_request(
209-
NormalisedURLPath("{tenant_id}/recipe/user"), param
209+
NormalisedURLPath(f"{tenant_id}/recipe/user"), param
210210
)
211211
if result["status"] == "OK":
212212
email_resp = None

tests/passwordless/test_mutlitenancy.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
from supertokens_python.recipe.multitenancy.interfaces import TenantConfig
2828

2929
from tests.utils import get_st_init_args
30-
from tests.utils import setup_function, teardown_function, setup_multitenancy_feature
30+
from tests.utils import setup_function, teardown_function, setup_multitenancy_feature, start_st
3131

3232

3333
_ = setup_function
@@ -49,6 +49,7 @@ async def test_multitenancy_functions():
4949
]
5050
)
5151
init(**args)
52+
start_st()
5253
setup_multitenancy_feature()
5354

5455
await create_or_update_tenant("t1", TenantConfig(passwordless_enabled=True))

0 commit comments

Comments
 (0)