test: sync test with messages
This commit is contained in:
parent
018d3c8520
commit
95fa3f1af9
|
@ -1576,17 +1576,17 @@ def test_oidc_client_clean():
|
|||
redirect_uris='https://example.com/ https://example2.com/',
|
||||
identifier_policy=OIDCClient.POLICY_UUID).clean()
|
||||
|
||||
with pytest.raises(ValidationError, match=r'must be the same'):
|
||||
with pytest.raises(ValidationError, match=r'same domain'):
|
||||
OIDCClient(
|
||||
redirect_uris='https://example.com/ https://example2.com/',
|
||||
identifier_policy=OIDCClient.POLICY_PAIRWISE_REVERSIBLE).clean()
|
||||
|
||||
with pytest.raises(ValidationError, match=r'must be the same'):
|
||||
with pytest.raises(ValidationError, match=r'same domain'):
|
||||
OIDCClient(
|
||||
redirect_uris='https://example.com/ https://example2.com/',
|
||||
identifier_policy=OIDCClient.POLICY_PAIRWISE).clean()
|
||||
|
||||
with pytest.raises(ValidationError, match=r'must be the same'):
|
||||
with pytest.raises(ValidationError, match=r'same domain'):
|
||||
OIDCClient(
|
||||
redirect_uris='https://example.com/ https://example2.com/',
|
||||
identifier_policy=OIDCClient.POLICY_PAIRWISE).clean()
|
||||
|
|
Loading…
Reference in New Issue