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
Add a new test for bug #1837:
This tries to have the same behavior as iCal
1. create an event, add an attendee and add the organizer as an attendee
2. SOGo should remove the organizer from the attendee list
Monotone-Parent: b532b841f572a64aa9b471da32a51bb939539334
Monotone-Revision: 30b555a484fd45f63e941b88e3afc1f2784480da
Monotone-Author: jraby@inverse.ca
Monotone-Date: 2012-06-20T20:34:28
Tests would fail on an empty/new db
Monotone-Parent: 1ed6d11b3a404920b5f62a1b03c4a035d5bd53b3
Monotone-Revision: e5f291945f01977de333fd7aabf6d7109c8ec335
Monotone-Author: jraby@inverse.ca
Monotone-Date: 2012-05-11T17:45:44
Delete bitrotten code that could end up duplicating attendees.
Behavior exposed by the new caldav tests
* Tests/Integration/config.py.in
* Tests/Integration/test-caldav-scheduling.py
* Tests/Integration/test-ical.py
* Tests/Integration/test-davacl.py:
Use an unprivileged webdavclient where possible.
This would have uncovered the resources calendar autocreation bug.
* Tests/Integration/test-caldav-scheduling.py:
New tests to excercise somewhat fragile code in dav autoscheduling.
Monotone-Parent: 82335b9404ce69f30e311f831868f8d13e598a46
Monotone-Revision: 1ed6d11b3a404920b5f62a1b03c4a035d5bd53b3
Monotone-Author: jraby@inverse.ca
Monotone-Date: 2012-05-11T16:20:45