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