def test_core_profile_constraint(entity):
    with raises(Exception):
        CoreProfile(entity=entity, identity="http://bad.example.com").save()
Test that multiple profiles with the same schema cannot be added
dataset/ETHPy150Open pytent/pytentd/tentd/tests/documents/test_profiles.py/test_core_profile_constraint