MCPcopy
hub / github.com/prowler-cloud/prowler / provider_groups_fixture

Function provider_groups_fixture

api/src/backend/conftest.py:713–728  ·  view source on GitHub ↗
(tenants_fixture)

Source from the content-addressed store, hash-verified

711
712@pytest.fixture
713def provider_groups_fixture(tenants_fixture):
714 tenant, *_ = tenants_fixture
715 pgroup1 = ProviderGroup.objects.create(
716 name="Group One",
717 tenant_id=tenant.id,
718 )
719 pgroup2 = ProviderGroup.objects.create(
720 name="Group Two",
721 tenant_id=tenant.id,
722 )
723 pgroup3 = ProviderGroup.objects.create(
724 name="Group Three",
725 tenant_id=tenant.id,
726 )
727
728 return pgroup1, pgroup2, pgroup3
729
730
731@pytest.fixture

Callers

nothing calls this directly

Calls 1

createMethod · 0.45

Tested by

no test coverage detected