(organisation: Organisation)
| 408 | |
| 409 | @pytest.fixture() |
| 410 | def 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() |
nothing calls this directly
no test coverage detected
searching dependent graphs…