def METHOD_NAME(organization_factory):
    with pytest.raises(NotUnique) as exc:
        organization_factory('test-org', projects=['foo'], teams=['foo'], roles=['foo.admin_role:user'])
    assert 'not a unique key' in str(exc.value)