Replace the tearDown code by something a bit more elegant:
each test now adds its ics to the ics_list.
tearDown loops over the list instead of listing each ics.
2 new utility functions: _getAllEvents and _deleteAllEvent
Those should probably be named _getCollectionContent and
_deleteCollectionContent...
For tests related to resources, make sure their calendar is empty
before running them.
This ensures we won't get conflicts with existing events...
Various reindent
New test for bug #1837. Fails on <=1.3.16
Monotone-Parent: 4b891748ee7ea0c409554e75a90fb995173562a2
Monotone-Revision: 802a8f25aa0ed67386953826b82939c3ab98bba2
Monotone-Author: jraby@inverse.ca
Monotone-Date: 2012-06-22T19:06:17