feat: add links to response of GET /api/club/{club_id}

This commit is contained in:
imperosol
2026-05-02 19:31:03 +02:00
parent 59847b3973
commit b9b0c00b74
3 changed files with 9 additions and 3 deletions
+2 -2
View File
@@ -88,8 +88,8 @@ class TestFetchClub:
def test_fetch_club_nb_queries(self, client: Client, club: Club):
user = subscriber_user.make()
client.force_login(user)
with assertNumQueries(6):
with assertNumQueries(7):
# - 4 queries for authentication
# - 2 queries for the actual data
# - 3 queries for the actual data
res = client.get(reverse("api:fetch_club", kwargs={"club_id": club.id}))
assert res.status_code == 200