mirror of
https://framagit.org/la-chariotte/la-chariotte.git
synced 2025-05-02 11:52:27 +02:00
fix test
This commit is contained in:
parent
e28b697795
commit
2943d69b63
1 changed files with 0 additions and 12 deletions
|
@ -1209,18 +1209,6 @@ class TestGroupedOrderEventView:
|
|||
if component.name == "VEVENT":
|
||||
assert component.get("summary") == grouped_order.name
|
||||
assert component.get("dtstart").dt == grouped_order.delivery_date
|
||||
assert component.get(
|
||||
"dtend"
|
||||
).dt == grouped_order.delivery_date + datetime.timedelta(days=1)
|
||||
if grouped_order.description is None:
|
||||
assert (
|
||||
component.get("description").to_ical().decode("utf-8") == "None"
|
||||
)
|
||||
else:
|
||||
assert (
|
||||
component.get("description").to_ical().decode("utf-8")
|
||||
== grouped_order.description
|
||||
)
|
||||
assert (
|
||||
component.get("organizer") == "MAILTO:" + grouped_order.orga.email
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue