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

Function free_subscription

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

Source from the content-addressed store, hash-verified

408
409@pytest.fixture()
410def free_subscription(organisation: Organisation) -> Subscription:
411 Subscription.objects.filter(organisation=organisation).update(
412 plan=FREE_PLAN_ID, subscription_id="subscription-id"
413 )
414 organisation.refresh_from_db()
415 return organisation.subscription
416
417
418@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…