Commit graph

508 commits

Author SHA1 Message Date
Markus Unterwaditzer
f289437e46 Fix validation bugs for collections parameter 2016-06-15 17:17:07 +02:00
Markus Unterwaditzer
d24f3835ef Replace text/icalendar with text/calendar
Fix #455
2016-05-25 19:23:25 +02:00
Markus Unterwaditzer
c84bab113a Update ownCloud 2016-05-24 14:19:33 +02:00
Markus Unterwaditzer
139182ef2a Weaken test 2016-05-13 23:59:34 +02:00
Markus Unterwaditzer
09d6aeb4b1 Update davical server 2016-05-13 22:17:19 +02:00
Markus Unterwaditzer
61dce503a3 Fix remoteStorage tests 2016-05-13 21:56:48 +02:00
Markus Unterwaditzer
b5a690e9b2 Fix defective discovery test
Also split up in two testcases
2016-05-13 21:25:45 +02:00
Markus Unterwaditzer
207091f11a Stylefixes 2016-05-12 20:36:34 +02:00
Markus Unterwaditzer
2b6456e572 Fix broken Hypothesis test 2016-05-12 20:27:12 +02:00
Markus Unterwaditzer
4742ea61bc Nicer error message for InvalidResponse
See #448
2016-05-12 18:40:15 +02:00
Markus Unterwaditzer
d16721cde8 Replace a few skips with xfails 2016-05-02 17:07:31 +02:00
Markus Unterwaditzer
fc3e823b6b Use os.environ instead of getenv
None.lower() fails too, but KeyError() is a nicer errormessage
2016-05-02 16:50:19 +02:00
Markus Unterwaditzer
d3724ebb19 Reorder tests 2016-05-02 16:43:24 +02:00
Markus Unterwaditzer
900ffceca9 Refactor test_config 2016-05-02 16:41:03 +02:00
Markus Unterwaditzer
08b7db3478 Stylefix 2016-04-30 19:46:13 +02:00
Markus Unterwaditzer
66c6f31c8b Remove test of deprecated code
See a1532f36f6
2016-04-30 18:49:43 +02:00
Markus Unterwaditzer
a79e30b0b0 Add tests about flaky etags 2016-04-29 20:22:07 +02:00
Markus Unterwaditzer
cf17ac0509 Stylefix 2016-04-29 20:17:27 +02:00
Markus Unterwaditzer
cf225cc038 Add comment 2016-04-29 20:17:01 +02:00
Markus Unterwaditzer
7418acc42f More assertions regarding read_only and sync 2016-04-29 20:14:16 +02:00
Markus Unterwaditzer
cbb1967017 Test read_only in sync 2016-04-29 20:07:27 +02:00
Markus Unterwaditzer
b9f3ca3581 Fix hypothesis metadata tests 2016-04-29 19:47:48 +02:00
Markus Unterwaditzer
96c90af1e3 Add flag about Py2 monkeypatch for tests 2016-04-29 19:04:14 +02:00
Markus Unterwaditzer
f007cacdba Add hypothesis test for metasync 2016-04-29 19:03:12 +02:00
Markus Unterwaditzer
29d7054e82 Stylefix 2016-04-28 22:12:02 +02:00
Markus Unterwaditzer
e7d73da4aa Be conservative with assume() usage 2016-04-28 21:49:39 +02:00
Markus Unterwaditzer
208c9ca787 Extra test for collection = null 2016-04-28 21:27:24 +02:00
Markus Unterwaditzer
ea17f2ac01 Show error for Python 2 users (#441)
* Show error for Python 2 users

The error can be disabled with a config option.

See #219
2016-04-28 16:44:17 +02:00
Markus Unterwaditzer
41c59f4c47 Make discovery explicit (#439)
* Make discovery explicit

Fix #438
2016-04-27 02:17:16 +02:00
Markus Unterwaditzer
db4923c3ef Stylefixes 2016-04-26 22:44:19 +02:00
Markus Unterwaditzer
2beb854157 Factor out duplicate UID strategies 2016-04-25 21:48:51 +02:00
Markus Unterwaditzer
9081284f02 Stylefixes 2016-04-25 18:54:28 +02:00
Markus Unterwaditzer
8d9efc3014 Hypothesis tests for sync (#436) 2016-04-24 19:59:35 +02:00
Markus Unterwaditzer
1674a6565a Update testservers 2016-04-23 13:58:09 +02:00
Markus Unterwaditzer
ec2f743ffa Replace LXML with stdlib XML
Just because the XML module is already there, and suits our needs as
well. DoS concerns should be irrelevant as we trust the server to that
extent.
2016-04-22 23:08:32 +02:00
Markus Unterwaditzer
d594f9fd24 Update servers 2016-04-17 23:35:35 +02:00
Homu
7917f2e6f4 Auto merge of #427 - pimutils:update-baikal, r=untitaker
Update Baikal to 0.4.4

None
2016-04-11 04:41:28 +09:00
Markus Unterwaditzer
ed61980000 Update Baikal to 0.4.4 2016-04-10 20:18:25 +02:00
Markus Unterwaditzer
05366cd2ff Update ownCloud to 9.0.1 2016-04-10 20:08:01 +02:00
Markus Unterwaditzer
be8df955e9 Ability to sync differently named collections with each other (#423)
* Ability to sync differently named collections

* Fixes

* Fixes

* Add example
2016-04-10 12:36:51 +02:00
Markus Unterwaditzer
7a5241101e Don't test development Radicale 2016-04-07 19:52:25 +02:00
Markus Unterwaditzer
8134313390 CLI worker: Show how many tasks failed
Fix #398
2016-04-03 23:36:49 +02:00
Homu
45389f87d9 Auto merge of #400 - pimutils:not-implemented-discovery, r=untitaker
Nicer output for unsupported discovery

Fix #347
2016-04-03 06:49:52 +09:00
Markus Unterwaditzer
3b9ef7a16b Nicer output for unsupported discovery
Fix #347
2016-04-02 23:12:55 +02:00
Markus Unterwaditzer
2888757e1b Refactor Google support into own storage types 2016-04-02 21:14:17 +02:00
Markus Unterwaditzer
bd6bca6540 Fix hangup on no-op sync
Fix #395
2016-03-26 22:05:47 +01:00
Markus Unterwaditzer
391f193eae Rename test_main to test_sync 2016-03-26 21:37:22 +01:00
Markus Unterwaditzer
862bf24e6b The dumbest bug fix 2016-03-22 22:47:16 +01:00
Markus Unterwaditzer
0195f85af0 Stylefix 2016-03-22 22:43:46 +01:00
Markus Unterwaditzer
3e327ad9f5 Remove entry-point test
I thought it was common practice to run testsuites post-install.
Apparently this isn't the case with Archlinux, which executes `check`
between `build` and `install`.

Fix #393
2016-03-22 20:49:30 +01:00
Markus Unterwaditzer
7ce0fb958f Split recurring events properly
Previously we moved each VEVENT into its own Item, now we group by UID,
if one exists.
2016-03-20 14:16:52 +01:00
Markus Unterwaditzer
c855be0015 Update submodules 2016-03-15 21:25:34 +01:00
Markus Unterwaditzer
085cd692a7 Update submodules 2016-03-15 20:57:17 +01:00
Markus Unterwaditzer
b726364b93 Replace all instances of untitaker with pimutils 2016-03-15 15:36:40 +01:00
Markus Unterwaditzer
87560481d6 Update davical module 2016-03-14 15:32:59 +01:00
Markus Unterwaditzer
0e7fa2ed62 Fix broken test for webbrowser internals
List may be empty if running in minimal environment.
2016-03-13 20:38:00 +01:00
Markus Unterwaditzer
0d0902cc48 Test OS X 2016-03-12 21:34:45 +01:00
Homu
f9375eaa82 Auto merge of #378 - untitaker:server-submodules, r=untitaker
Add servers as submodules

Fix #377
2016-03-11 20:14:21 +09:00
Markus Unterwaditzer
6a2dc53db9 Add servers as submodules 2016-03-10 22:50:11 +01:00
Markus Unterwaditzer
88df14a724 Testing: Tolerate slowness in CI 2016-03-10 13:46:44 +01:00
Markus Unterwaditzer
55914bd575 Merge pull request #372 from untitaker/test-open-graphical-browser
Add tests for open_graphical_browser
2016-03-10 12:13:00 +01:00
Markus Unterwaditzer
376d6fc70b Add tests for open_graphical_browser
Fix #312
2016-03-10 00:03:22 +01:00
Markus Unterwaditzer
0cba8eb816 Remove outdated reference to https://github.com/owncloud/core/issues/18409 2016-03-09 16:00:06 +01:00
Markus Unterwaditzer
baa82846c0 Remove ownCloud skip for multiget crash
Ref https://github.com/owncloudarchive/calendar/issues/935
2016-03-09 15:53:47 +01:00
Markus Unterwaditzer
1f190e69ff Remove ownCloud skip for metadata glitch
Ref https://github.com/owncloud/core/issues/18409
2016-03-09 15:52:42 +01:00
Markus Unterwaditzer
4ff0680092 Merge pull request #366 from untitaker/remove-baikal-xfail
Remove old Baikal xfails
2016-03-09 12:59:13 +01:00
Markus Unterwaditzer
66bd52244d Remove old Baikal xfails
Ref #160
Ref https://github.com/fruux/sabre-dav/issues/422
2016-03-08 21:27:45 +01:00
Markus Unterwaditzer
75a9987ec2 Hypothesis: Blacklist surrogates 2016-03-06 22:50:55 +01:00
Markus Unterwaditzer
23ea0e203f Refactor metadata None values
This fixes #358 again, in a different way.
2016-03-06 21:13:50 +01:00
Hugo Osvaldo Barrera
bac0966814 Replace instances of envvar TRAVIS with CI 2016-03-04 12:32:50 -03:00
Markus Unterwaditzer
13af5ffbaf Replace CI with TRAVIS 2016-03-04 15:07:55 +01:00
Markus Unterwaditzer
e244eecc52 Stylefixes 2016-03-04 15:07:55 +01:00
Hugo Osvaldo Barrera
1ede6884b7 Allow running deterministic tests 2016-03-04 15:07:55 +01:00
Markus Unterwaditzer
cd07d7fc68 Add test for proper dependencies 2016-03-04 15:07:55 +01:00
Markus Unterwaditzer
e725df4747 metasync: Strip whitespace from values
Fix #358
2016-03-04 15:06:00 +01:00
Markus Unterwaditzer
3eee5a55a1 Hypothesis: Use more idiomatic filter instead of return 2016-03-04 12:38:17 +01:00
Markus Unterwaditzer
dec27d3b17 More hypothesis tests 2016-03-02 15:59:46 +01:00
Markus Unterwaditzer
a25fd354d9 Remove unnecessary teardown 2016-03-01 14:57:34 +01:00
Markus Unterwaditzer
768cebe0e1 Fix coerce_native
See #344
2016-02-28 19:08:18 +01:00
Hugo Osvaldo Barrera
f9c1bcb9a1 Add test when syncing inexistent pair 2016-02-28 07:13:12 -03:00
Markus Unterwaditzer
7d60c05b2b filesystem: missing metadata is handled correctly 2016-02-26 16:39:37 +01:00
Markus Unterwaditzer
8a6ad410da Tests for fetchparams 2016-02-26 16:39:37 +01:00
Markus Unterwaditzer
5300e6816b 100% coverage for metasync 2016-02-26 16:39:37 +01:00
Markus Unterwaditzer
f81f248dde Stylefix 2016-02-17 19:51:18 +01:00
Markus Unterwaditzer
6e9e856aae Better comments 2016-02-16 23:05:00 +01:00
Markus Unterwaditzer
f2a0d07c09 Fix bug in sync if href changes 2016-02-16 22:59:07 +01:00
Markus Unterwaditzer
fd3d81e925 Remove VERSION from ignored props, more tests 2016-02-16 01:37:39 +01:00
Markus Unterwaditzer
27345add6d Accomodate to new Sabre version 2016-02-15 21:57:58 +01:00
Markus Unterwaditzer
727ce250cf Remove the default of collections to autodiscovery
See #328
2016-02-12 23:00:07 +01:00
Markus Unterwaditzer
be4baba19e Merge CliError into UserError 2016-02-10 15:09:25 +01:00
Markus Unterwaditzer
b12660f1a8 Warn when running under Python 2
See #219
2016-01-24 19:35:37 +01:00
Markus Unterwaditzer
3a3b6ee7ee Remove keyring support 2016-01-16 23:29:14 +01:00
Markus Unterwaditzer
129c9305f7 More safety checks for #315 2016-01-10 02:34:26 +01:00
Markus Unterwaditzer
d8964660f8 Introduce hypothesis into codebase 2016-01-10 02:24:48 +01:00
Markus Unterwaditzer
563f9c9d34 Re-add minimal requirements build
Testing older lxml against radicale
2015-12-18 21:08:11 +01:00
Markus Unterwaditzer
211ff0e889 Stylefixes 2015-11-28 16:08:17 +01:00
Markus Unterwaditzer
5f80b9f3f6 Fix testcase 2015-11-28 16:07:40 +01:00
Markus Unterwaditzer
b694c3f60c Add testcase for bogus etag changes 2015-11-28 16:05:22 +01:00
Markus Unterwaditzer
b144ae1701 Restructure status layout for more flexibility 2015-11-28 15:41:37 +01:00
Markus Unterwaditzer
3efca22207 Stylefix 2015-11-13 23:57:07 +01:00