Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrillkuettel committed Jun 25, 2024
1 parent 621c617 commit 4720ee0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/privatim/models/meeting.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ def __acl__(self) -> list['ACL']:
return [
(Allow, Authenticated, ['view']),
]

def __repr__(self) -> str:
return f'<AgendaItem {self.title} position {self.position}>'

Expand Down
3 changes: 1 addition & 2 deletions tests/shared/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
Expand All @@ -58,7 +58,6 @@ def create_meeting_with_agenda_items(
return meeting



def create_consultation(documents=None, tags=None, user=None):

documents = documents or [
Expand Down

0 comments on commit 4720ee0

Please sign in to comment.