-
Notifications
You must be signed in to change notification settings - Fork 129
Description
I just downloaded this library and it seems to be just what I need. Thanks!
I want to set up regression tests of code that generate ICS files. But successive runs aren't serializing the events in the same order, so my tests are failing. I guess this is because a calendar's events property is a set and not a list.
The only way I know to serialize a calendar is to call str on it. Is there a way which makes sure its events are given a specific order (e.g., chronological by starting time)?
I'm using ics 0.7 and python 3.6.
Edit This might be a good feature, but not for this use case, I just realized. The code may produce the same set of events, but they won't have the same UID's, ever. So the serializations won't be equal no matter what order the events go in.