MCPcopy Create free account
hub / github.com/Flagsmith/flagsmith / enterprise_subscription

Function enterprise_subscription

api/tests/conftest.py:383–388  ·  view source on GitHub ↗
(organisation: Organisation)

Source from the content-addressed store, hash-verified

381
382@pytest.fixture()
383def enterprise_subscription(organisation: Organisation) -> Subscription:
384 Subscription.objects.filter(organisation=organisation).update(
385 plan="enterprise", subscription_id="subscription-id"
386 )
387 organisation.refresh_from_db()
388 return organisation.subscription
389
390
391@pytest.fixture()

Callers

nothing calls this directly

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…