| 1 | from .conftest import get_client, verify_request_count |
| 2 | |
| 3 | |
| 4 | def test_connections_scimConfiguration_tokens_get() -> None: |
| 5 | """Test get endpoint with WireMock""" |
| 6 | test_id = "connections.scim_configuration.tokens.get.0" |
| 7 | client = get_client(test_id) |
| 8 | client.connections.scim_configuration.tokens.get( |
| 9 | id="id", |
| 10 | ) |
| 11 | verify_request_count(test_id, "GET", "/connections/id/scim-configuration/tokens", None, 1) |
| 12 | |
| 13 | |
| 14 | def test_connections_scimConfiguration_tokens_create() -> None: |
| 15 | """Test create endpoint with WireMock""" |
| 16 | test_id = "connections.scim_configuration.tokens.create.0" |
| 17 | client = get_client(test_id) |
| 18 | client.connections.scim_configuration.tokens.create( |
| 19 | id="id", |
| 20 | ) |
| 21 | verify_request_count(test_id, "POST", "/connections/id/scim-configuration/tokens", None, 1) |
| 22 | |
| 23 | |
| 24 | def test_connections_scimConfiguration_tokens_delete() -> None: |
| 25 | """Test delete endpoint with WireMock""" |
| 26 | test_id = "connections.scim_configuration.tokens.delete.0" |
| 27 | client = get_client(test_id) |
| 28 | client.connections.scim_configuration.tokens.delete( |
| 29 | id="id", |
| 30 | token_id="tokenId", |
| 31 | ) |
| 32 | verify_request_count(test_id, "DELETE", "/connections/id/scim-configuration/tokens/tokenId", None, 1) |