83 Commits

Author SHA1 Message Date
Unrud
6fc69b480f Never skip sync token tests 2018-09-04 03:33:42 +02:00
Unrud
8869b34470 refactor 2018-08-28 16:19:43 +02:00
Unrud
1bdc47bf44 Make predefined rights plugins more restrictive and remove NoneAuth
Collections with tag are only allowed as direct children of a principal collections.
2018-08-21 18:43:48 +02:00
Unrud
8281769edf Move filesystem_fsync config from section storage to internal 2018-08-18 12:56:39 +02:00
Unrud
e96410c6e7 Only support file based locking 2018-08-16 07:59:58 +02:00
Unrud
c7e65fbb7f require UIDs in CalDAV/CardDAV / check for duplicated UIDs / try to use UIDs as filenames 2018-08-16 07:59:57 +02:00
Unrud
7964d288a5 Tests: Don't overwrite component with different UID 2018-08-16 07:59:57 +02:00
Unrud
d2e6566147 Don't test missing UIDs in CalDAV/CardDAV 2018-08-16 07:59:57 +02:00
Unrud
54b9995e22 Use module-wide logger and remove logging config 2018-08-16 07:59:55 +02:00
Unrud
f815f1be7f Use correct HTTP status for WebDAV precondition 2018-08-14 20:08:42 +02:00
Unrud
18e4677cb7 Add test for mixed local DATE-TIME with time zone and UTC (Test #765) 2018-04-27 18:37:22 +02:00
Unrud
233a54f73b Add test for VTODO with RRULE (Test #764) 2018-04-27 18:37:22 +02:00
Unrud
17d0b79069 Skip testing timezone with seconds for Python < 3.6 2018-04-21 11:23:06 +02:00
Unrud
70e7363be6 Test timezone with minutes and seconds 2018-04-21 10:44:59 +02:00
Unrud
b0ef194a4b Test PROPFIND requests with propname and allprop 2017-09-17 14:11:37 +02:00
Unrud
f7d942bfeb More tests for filtering calendars 2017-08-29 20:24:38 +02:00
Unrud
ad0b4e5e85 Add tests for filtering address books 2017-08-29 20:24:38 +02:00
Unrud
f37b22b682 Correct ;component=... in getcontenttype 2017-08-29 20:08:26 +02:00
Unrud
a2a046f35f Correct Content-Type for VLIST in HTTP header 2017-08-29 20:08:25 +02:00
Unrud
ae897c1cd3 Test time range filter with overwritten recurrence 2017-08-03 23:25:50 +02:00
Unrud
7678da7926 Test unordered recurrences
Time range matching stops early when the visited time range is behind the end date of the filter.
Components are visited in the order, in which they are specified in the VCALENDAR.
This can cause problems with overwritten recurrences.
2017-08-03 19:47:00 +02:00
Unrud
e060bb3d8b Specify items for _test_filter explicitly 2017-08-03 19:46:59 +02:00
Unrud
c028de4fb7 Test missing UIDs 2017-07-27 19:08:11 +02:00
Unrud
b19b1b34e8 Test deleting the item cache 2017-07-27 19:08:09 +02:00
Unrud
e807b5d953 Move storage hook tests from BaseRequestsMixIn to TestMultiFileSystem 2017-07-27 19:08:00 +02:00
Unrud
f4a9399a97 Change HTTP response 303 to 302 2017-07-01 04:20:13 +02:00
Unrud
9f0611cd20 Small improvements for tests 2017-07-01 04:20:11 +02:00
Unrud
2b3fd1fb9b Add missing UIDs instead of failing 2017-07-01 01:24:53 +02:00
Unrud
5b3fbb79a1 Small improvements for tests 2017-07-01 01:24:53 +02:00
Unrud
02575580c6 Test creation of whole address book 2017-07-01 01:24:53 +02:00
Unrud
70043c07b9 Improve test for creation of whole calendar 2017-07-01 01:24:53 +02:00
Unrud
cc888ebe9e Test adding contact to address book 2017-07-01 01:24:53 +02:00
Unrud
69086c6d70 Remove some hacks for bugs fixed in VObject 0.9.5 2017-07-01 01:24:53 +02:00
Unrud
12dbeeecb3 Separate imports of pytest and radicale
Depending on the install location of pytest this causes isort to pass or fail.
2017-06-16 01:39:30 +02:00
Unrud
db572e91f8 Test time range filtering with RDATE 2017-06-09 02:59:29 +02:00
Unrud
c54196bb72 Test time range filtering with overwritten recurrence 2017-06-09 02:59:29 +02:00
Unrud
a6a3756e05 Check error code of PUT request
Detect errors early
2017-06-06 20:01:02 +02:00
Unrud
5660f70753 Rename deleted item in test
The backend may derive the item name from the UID (e.g. "event1.ics" from the UID "event1").
2017-06-06 20:00:59 +02:00
Unrud
78a62aee86 Merge pull request #565 from Unrud/synctoken
Support for sync-token and sync-collection
2017-06-02 13:01:54 +02:00
Unrud
3009ce5414 Test sync-token and sync-collection 2017-06-02 12:44:31 +02:00
Unrud
428abf10de don't use REMOTE_USER in tests 2017-06-02 12:43:44 +02:00
Unrud
95a8c7b903 use mapping api to set config options
Provides protection against typos in names
2017-06-02 12:41:47 +02:00
Unrud
3bfac019a8 Close lock file when running tests
The name of configuration option was wrong.
2017-06-01 16:10:50 +02:00
Unrud
efb20d994f Adjust imports for isort 2017-06-01 12:45:44 +02:00
Unrud
fd55bbce15 Adjust imports for isort 2017-06-01 11:54:04 +02:00
Unrud
ab9e9b2d7c Add web interface module 2017-05-31 13:18:40 +02:00
Unrud
01ea0a3c40 Capture log messages during tests
The log messages help finding problems with failed tests.
2017-05-30 05:44:02 +02:00
Guillaume Ayoub
3e0c8cf285 Update copyright years 2017-05-27 17:28:07 +02:00
Guillaume Ayoub
864eb5931a Merge setup.cfg and pytest.ini, fix tests 2017-04-15 10:51:00 +02:00
Guillaume Ayoub
4278cc3443 Set htpasswd encryption type to plain in tests 2017-03-04 14:25:01 +01:00