(admin_client, organisation)
| 74 | |
| 75 | @pytest.fixture() |
| 76 | def project(admin_client, organisation): # type: ignore[no-untyped-def] |
| 77 | project_data = {"name": "Test Project", "organisation": organisation} |
| 78 | url = reverse("api-v1:projects:project-list") |
| 79 | response = admin_client.post(url, data=project_data) |
| 80 | return response.json()["id"] |
| 81 | |
| 82 | |
| 83 | @pytest.fixture() |