Skip to content

Commit 535f8ea

Browse files
committed
Update test_tenant.py
1 parent 153222f commit 535f8ea

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/management/test_tenant.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def test_update(self):
118118
with patch("requests.post") as mock_post:
119119
mock_post.return_value.ok = True
120120
self.assertIsNone(
121-
client.mgmt.tenant.update("t1", "new-name", ["domain.com"])
121+
client.mgmt.tenant.update("t1", "new-name", ["domain.com"], enforce_sso=True, disabled=True)
122122
)
123123
mock_post.assert_called_with(
124124
f"{common.DEFAULT_BASE_URL}{MgmtV1.tenant_update_path}",
@@ -131,6 +131,8 @@ def test_update(self):
131131
"name": "new-name",
132132
"id": "t1",
133133
"selfProvisioningDomains": ["domain.com"],
134+
"enforceSSO": True,
135+
"disabled": True,
134136
},
135137
allow_redirects=False,
136138
verify=True,

0 commit comments

Comments
 (0)