Commit Graph

89 Commits

Author SHA1 Message Date
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 ae8e10d900 Specify encoding for test files
"utf-8" is not the default encoding on Windows, causing tests to fail
2018-04-21 16:01:55 +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 f6081bb07e Update email address 2018-04-20 16:03:36 +02:00
Unrud b0ef194a4b Test PROPFIND requests with propname and allprop 2017-09-17 14:11:37 +02:00
Unrud 1bd4e6abbe Skip test creating principal with whitespaces on Windows
It's not allowed by the file system.
2017-09-11 20:33:38 +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 f912642c20 htpasswd: ignore comments 2017-08-17 06:46:40 +02:00
Unrud 73038e518a htpasswd: don't strip whitespaces and allow ':' in plain password 2017-08-17 06:46:38 +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 2860c664d0 Check that vobject_item have a UID 2017-06-06 20:01:09 +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 eba6621f17 Rename backends from None to none
All other backend names are lower case.
2017-05-31 12:02:29 +02:00
Unrud f12dd31b4b Small improvements for auth tests 2017-05-31 12:01:33 +02:00
Unrud c2387403dd Test the remote_user and http_x_remote user backends 2017-05-31 02:07:52 +02:00
Unrud 3e715a9aff Test rights management 2017-05-31 01:41:23 +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
Unrud f2fb07fa84 Move authentication delay into __init__.py and add config
Use the delay for all backends (not only htpasswd).
Add configuration option to configure the delay.
2017-05-23 04:07:32 +02:00
Unrud 99bda37839 Repair auth tests, add tests for all methods and cross check
The auth tests were not doing anything because "Basic" was missing in the AUTHORIZATION header.
2017-05-23 04:07:31 +02:00