Skip to content

Commit 9120b9c

Browse files
committed
chores: Format
1 parent 55aacaa commit 9120b9c

File tree

4 files changed

+56
-34
lines changed

4 files changed

+56
-34
lines changed

tests/emailpassword/test_multitenancy.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,12 @@
3333
from supertokens_python.recipe.multitenancy.interfaces import TenantConfig
3434

3535
from tests.utils import get_st_init_args
36-
from tests.utils import setup_function, teardown_function, setup_multitenancy_feature, start_st
36+
from tests.utils import (
37+
setup_function,
38+
teardown_function,
39+
setup_multitenancy_feature,
40+
start_st,
41+
)
3742

3843

3944
_ = setup_function

tests/passwordless/test_mutlitenancy.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,12 @@
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, start_st
30+
from tests.utils import (
31+
setup_function,
32+
teardown_function,
33+
setup_multitenancy_feature,
34+
start_st,
35+
)
3136

3237

3338
_ = setup_function

tests/thirdparty/test_multitenancy.py

Lines changed: 38 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,12 @@
2828
from supertokens_python.recipe.multitenancy.interfaces import TenantConfig
2929

3030
from tests.utils import get_st_init_args
31-
from tests.utils import setup_function, teardown_function, setup_multitenancy_feature, start_st
31+
from tests.utils import (
32+
setup_function,
33+
teardown_function,
34+
setup_multitenancy_feature,
35+
start_st,
36+
)
3237

3338

3439
_ = setup_function
@@ -116,36 +121,38 @@ async def test_thirtyparty_multitenancy_functions():
116121

117122

118123
async def test_get_provider():
119-
args = get_st_init_args([
120-
session.init(),
121-
thirdparty.init(
122-
sign_in_and_up_feature=thirdparty.SignInAndUpFeature(
123-
providers=[
124-
thirdparty.ProviderInput(
125-
thirdparty.ProviderConfig(
126-
third_party_id="google",
127-
)
128-
),
129-
thirdparty.ProviderInput(
130-
thirdparty.ProviderConfig(
131-
third_party_id="facebook",
132-
)
133-
),
134-
thirdparty.ProviderInput(
135-
thirdparty.ProviderConfig(
136-
third_party_id="discord",
137-
)
138-
),
139-
thirdparty.ProviderInput(
140-
thirdparty.ProviderConfig(
141-
third_party_id="linkedin",
142-
)
143-
),
144-
]
145-
)
146-
),
147-
multitenancy.init()
148-
])
124+
args = get_st_init_args(
125+
[
126+
session.init(),
127+
thirdparty.init(
128+
sign_in_and_up_feature=thirdparty.SignInAndUpFeature(
129+
providers=[
130+
thirdparty.ProviderInput(
131+
thirdparty.ProviderConfig(
132+
third_party_id="google",
133+
)
134+
),
135+
thirdparty.ProviderInput(
136+
thirdparty.ProviderConfig(
137+
third_party_id="facebook",
138+
)
139+
),
140+
thirdparty.ProviderInput(
141+
thirdparty.ProviderConfig(
142+
third_party_id="discord",
143+
)
144+
),
145+
thirdparty.ProviderInput(
146+
thirdparty.ProviderConfig(
147+
third_party_id="linkedin",
148+
)
149+
),
150+
]
151+
)
152+
),
153+
multitenancy.init(),
154+
]
155+
)
149156
init(**args)
150157
start_st()
151158
setup_multitenancy_feature()

tests/userroles/test_multitenancy.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,12 @@
2828
)
2929

3030
from tests.utils import get_st_init_args
31-
from tests.utils import setup_function, teardown_function, setup_multitenancy_feature, start_st
31+
from tests.utils import (
32+
setup_function,
33+
teardown_function,
34+
setup_multitenancy_feature,
35+
start_st,
36+
)
3237

3338

3439
_ = setup_function

0 commit comments

Comments
 (0)