Skip to content

Commit fd00d44

Browse files
committed
Revert "update search and test"
This reverts commit 6f1d75d.
1 parent 6f1d75d commit fd00d44

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

descope/management/tenant.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,6 @@ def search_all(
156156
names: Optional[List[str]] = None,
157157
self_provisioning_domains: Optional[List[str]] = None,
158158
custom_attributes: Optional[dict] = None,
159-
enforce_sso: Optional[bool] = None,
160-
disabled: Optional[bool] = None,
161159
) -> dict:
162160
"""
163161
Search all tenants.
@@ -167,8 +165,6 @@ def search_all(
167165
names (List[str]): Optional list of names to filter by
168166
self_provisioning_domains (List[str]): Optional list of self provisioning domains to filter by
169167
custom_attributes (dict): Optional search for a attribute with a given value
170-
enforce_sso (bool): Optional search to filter by enforce_sso
171-
disabled (bool): Optional search to filter by disabled
172168
173169
Return value (dict):
174170
Return dict in the format
@@ -185,8 +181,6 @@ def search_all(
185181
"tenantNames": names,
186182
"tenantSelfProvisioningDomains": self_provisioning_domains,
187183
"customAttributes": custom_attributes,
188-
"enforceSSO": enforce_sso,
189-
"disabled": disabled,
190184
},
191185
pswd=self._auth.management_key,
192186
)

tests/management/test_tenant.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,6 @@ def test_search_all(self):
318318
names=["name1"],
319319
custom_attributes={"k1": "v1"},
320320
self_provisioning_domains=["spd1"],
321-
enforce_sso=True
322321
)
323322
tenants = resp["tenants"]
324323
self.assertEqual(len(tenants), 2)
@@ -335,8 +334,6 @@ def test_search_all(self):
335334
"tenantNames": ["name1"],
336335
"tenantSelfProvisioningDomains": ["spd1"],
337336
"customAttributes": {"k1": "v1"},
338-
"enforceSSO": True,
339-
"disabled": None
340337
},
341338
allow_redirects=False,
342339
verify=True,

0 commit comments

Comments
 (0)