This new class uses vobject.ics_diff() to compare 2 VCALENDAR components.
We should use this instead of textually comparing events for equality
in future tests.
* Tests/Integration/webdavlib.py(HTTPPOST,HTTPGET):
Allow cookies in post and get requests.
* Tests/Integration/test-ui-posts.py: New test class
Currently contains only one test case which exercises addWebCalendar
* SoObjects/Appointments/GNUmakefile:
use -Wl,--no-as-needed when linking. Fixes#1863
Monotone-Parent: 080d411d52272c158ce60ea0bab6ba8eb9d9aa2a
Monotone-Revision: 8ce46d6fa7b1d1a9d12069cee3ba796d99d668d2
Monotone-Author: jraby@inverse.ca
Monotone-Date: 2012-07-18T20:22:54
that used a private class from xml.etree.ElementTree.
Works with cElementTree
Monotone-Parent: ed7f1623b0cb7e935297f6652b76074c1ff952df
Monotone-Revision: 1bcd208d669189aec549aa4351b9d92a29c6d9b9
Monotone-Author: jraby@inverse.ca
Monotone-Date: 2012-07-17T16:56:19
the output can now easily be piped through xmllint
Monotone-Parent: 228f7d730cde5a5046b0885c1ac02649ee2b7c05
Monotone-Revision: 4c9ff5822433c2ff8fcad8c7432a9575f9890b24
Monotone-Author: jraby@inverse.ca
Monotone-Date: 2012-07-05T16:56:27
(PUTAction:): detect conflicting event UID and
deny the request accordingly.
* Tests/Integration/test-caldav-scheduling.py:
new test for bug #1853
Monotone-Parent: 32e30de409bdd4e864d0c454e1939c809fb8edcd
Monotone-Revision: a4ef73c2ad79c8da8d8e0c93767ab06e14bc846b
Monotone-Author: jraby@inverse.ca
Monotone-Date: 2012-06-27T16:06:20
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