canaille-globuzma/tests/scim/test_scim_tester.py

14 lines
410 B
Python
Raw Normal View History

2024-11-25 16:47:31 +00:00
import pytest
from scim2_tester import check_server
2024-12-06 14:15:04 +00:00
def test_scim_tester(scim_client, backend):
2024-11-25 16:47:31 +00:00
# currently the tester create empty groups because it cannot handle references
# but LDAP does not support empty groups
# https://github.com/python-scim/scim2-tester/issues/15
if "ldap" in backend.__class__.__module__:
pytest.skip()
2024-12-06 14:15:04 +00:00
check_server(scim_client, raise_exceptions=True)