From 4720ee090ac48a7b2ef7baf4d02b86abd6938bc4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyrill=20K=C3=BCttel?= Date: Tue, 25 Jun 2024 02:06:45 +0200 Subject: [PATCH] Clean up --- src/privatim/models/meeting.py | 1 + tests/shared/utils.py | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/privatim/models/meeting.py b/src/privatim/models/meeting.py index d767f0d..b56a781 100644 --- a/src/privatim/models/meeting.py +++ b/src/privatim/models/meeting.py @@ -114,6 +114,7 @@ def __acl__(self) -> list['ACL']: return [ (Allow, Authenticated, ['view']), ] + def __repr__(self) -> str: return f'' diff --git a/tests/shared/utils.py b/tests/shared/utils.py index 09ccf6a..ec2c6fa 100644 --- a/tests/shared/utils.py +++ b/tests/shared/utils.py @@ -47,7 +47,7 @@ def create_meeting_with_agenda_items( ) -> Meeting: meeting = create_meeting() for item in agenda_items: - AgendaItem.create( + AgendaItem.create( session, title=item['title'], description=item['description'], @@ -58,7 +58,6 @@ def create_meeting_with_agenda_items( return meeting - def create_consultation(documents=None, tags=None, user=None): documents = documents or [