Unrud
88ff1b4c28
Tests: Simplify HTTP status check
2022-01-18 22:47:39 +01:00
Unrud
036015ad17
Extract method configure
2021-12-20 21:21:21 +01:00
Unrud
6ff0be84e4
Change name in file header
2021-12-20 21:21:21 +01:00
Unrud
b65d49788a
Type hints for tests
2021-12-20 21:21:20 +01:00
Unrud
c93d7b8715
More type hints
2021-12-20 21:21:20 +01:00
Unrud
7831ba3e37
Improve variable names
2021-12-20 21:18:32 +01:00
Unrud
f23b413cef
Add more tests
2020-09-14 21:31:00 +02:00
Tom Hacohen
09b021f33e
Web: add support for the POST HTTP method. ( #1097 )
...
* Web: add support for the POST HTTP method.
This patch adds support for POST in addition to the already supported GET.
This is needed for implementing more complex web modules that also
support configuration modifications and advanced queries.
* Base web: return METHOD_NOT_ALLOWED when method isn't implemenetd.
Co-authored-by: Unrud <Unrud@users.noreply.github.com>
2020-09-14 21:31:00 +02:00
Unrud
6746aa97f3
Add tests for conflicting UIDs and overwriting of items
2020-05-24 13:42:56 +02:00
Unrud
9bd852ba5e
Remove duplicated code
2020-04-22 19:20:36 +02:00
Unrud
d3b632e123
Remove unused code
2020-02-20 10:41:33 +01:00
Unrud
fc180266d5
Improve tests
...
- Parse and verify XML responses
- Extract methods for common requests
2020-01-20 09:47:51 +01:00
Unrud
866aa34f54
Cosmetic changes
2020-01-19 21:07:54 +01:00
Unrud
0fb02cd026
Cosmetic changes (pylint)
2020-01-17 12:59:14 +01:00
Unrud
ed72e697de
Tests: Use absolute imports
2020-01-15 18:44:00 +01:00
Unrud
63e6d091b9
Update copyright
2019-06-17 04:13:24 +02:00
Unrud
14b46c04bf
Create configuration for isort
2019-06-15 09:01:55 +02:00
Braxton Plaxco
27185f7291
Get python3 ./setup.py test
to pass cleanly
...
~ B'ezrat Hashem ~
2019-06-15 08:49:05 +02:00
Unrud
e4ee569bd2
Measure coverage of forked processes
2018-09-09 07:28:36 +02:00
Unrud
5e0a387ed9
remove whitespace before email
2018-09-04 03:33:47 +02:00
Unrud
8869b34470
refactor
2018-08-28 16:19:43 +02:00
Unrud
09644414b5
set logging level to DEBUG for tests
2018-08-21 18:43:44 +02:00
Unrud
c657dda753
Add clarifying comment
2018-08-16 07:59:57 +02:00
Unrud
d7255df768
Tests: Remove start_response method
2018-08-16 07:59:57 +02:00
Unrud
24815255be
Use wsgi.errors to for errors
2018-08-16 07:59:56 +02:00
Unrud
54b9995e22
Use module-wide logger and remove logging config
2018-08-16 07:59:55 +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
Florian Mounier
9056561211
Move test inside radicale
2016-07-07 14:30:10 +02:00