test_organization# test_create_missing_organization_url# Source code in tests/unit/apps/actors/models/test_organization.py 9 10 11def test_create_missing_organization_url(): with pytest.raises(IntegrityError): OrganizationFactory.create(url="") test_create_duplicate_organization_url# Source code in tests/unit/apps/actors/models/test_organization.py 14 15 16 17def test_create_duplicate_organization_url(): OrganizationFactory.create(url="https://example.com/org") with pytest.raises(IntegrityError): OrganizationFactory.create(url="https://example.com/org") test_create_missing_organization_code# Source code in tests/unit/apps/actors/models/test_organization.py 20 21 22def test_create_missing_organization_code(): with pytest.raises(IntegrityError): OrganizationFactory.create(code="") test_create_duplicate_organization_code# Source code in tests/unit/apps/actors/models/test_organization.py 25 26 27 28def test_create_duplicate_organization_code(): OrganizationFactory.create(code="org") with pytest.raises(IntegrityError): OrganizationFactory.create(code="org") test_create_organization_without_scheme# Source code in tests/unit/apps/actors/models/test_organization.py 31 32 33def test_create_organization_without_scheme(): with pytest.raises(IntegrityError): OrganizationFactory.create(in_scheme="")