mirror of
https://github.com/lucaspalomodevelop/eventcally.git
synced 2026-03-13 00:07:22 +00:00
iCal for organization #393
This commit is contained in:
parent
bfd0a8c24c
commit
ab8f85510d
@ -276,11 +276,12 @@ def test_create_ical_events_for_event(client, app, db, utils, seeder):
|
||||
event_id = seeder.create_event(admin_unit_id)
|
||||
|
||||
with app.app_context():
|
||||
from project.models import Event, Location
|
||||
from project.models import Event, EventStatus, Location
|
||||
from project.services.event import create_ical_events_for_event
|
||||
|
||||
event = Event.query.get(event_id)
|
||||
event.description = "This is a fantastic event. Watch out!"
|
||||
event.status = EventStatus.cancelled
|
||||
|
||||
place = event.event_place
|
||||
place.name = "MachMitHaus Goslar"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user