Commit graph

75 commits

Author SHA1 Message Date
Markus Unterwaditzer
5a257ec2cd config: Add warning about unquoted strings 2016-10-23 01:40:04 +02:00
Markus Unterwaditzer
1795e63910 Refactor Config API, expose load_config for khal 2016-10-21 13:23:27 +02:00
Markus Unterwaditzer
c6e185d8a3 Evaluate partial_sync lazily
Fix #516
2016-10-13 18:25:55 +02:00
Markus Unterwaditzer
15bf13cfe1 Make pair config more strongly typed 2016-10-04 18:51:11 +02:00
Markus Unterwaditzer
827299ef24 Add CLI for partial_sync 2016-10-03 19:01:03 +02:00
Markus Unterwaditzer
68d2647e38 Add flake8-bugbear 2016-10-01 16:01:12 +02:00
Markus Unterwaditzer
ce8e027346 stylefix 2016-09-27 21:42:29 +02:00
Markus Unterwaditzer
565e971e4e Reorganize tests 2016-09-27 14:11:04 +02:00
Markus Unterwaditzer
8e3caf2c58 Extend coverage for repair command 2016-09-27 14:07:12 +02:00
Markus Unterwaditzer
a524f8e971 Debug output 2016-09-27 12:38:36 +02:00
Markus Unterwaditzer
22568571c2 Introduce conflict resolution via commands
Fix #127

More options of conflict resolution are discussed there, but they all
require extra dependencies. This new API allows the user to plug in
third-party scripts to do those.
2016-09-19 19:17:39 +02:00
Markus Unterwaditzer
dc5500892b More config refactor 2016-09-19 19:17:39 +02:00
Markus Unterwaditzer
b20fc996a2 Refactor config parsing
Fix #459
2016-09-08 13:34:34 +02:00
Markus Unterwaditzer
18d8bb9fc2 Remove Python 2 support (#499)
* Discontinue Python 2.

See #219

* Remove Python 2 config option

* Remove coerce_native

* Remove PY2 variable

* s/text_type/str/g

* Flake8 fixes

* Remove str = str

* s/to_native/to_unicode/g

* Remove to_unicode = to_unicode

* Remove iteritems

* Remove itervalues

* Remove str import, flake8 fixes

* Remove urlparse compat code

* Remove with_metaclass

* Remove unused PY2 variable

* Remove getargspec_ish

* Remove to_bytes

* Remove compat module

* Remove Python 2 from Travis

* fixup! Remove urlparse compat code

* fixup! Remove urlparse compat code

* fixup! Remove compat module
2016-09-08 12:18:36 +02:00
Markus Unterwaditzer
0de8415183 Stylefixes 2016-08-26 08:34:32 +02:00
Markus Unterwaditzer
3c7c1f5f67 Add test for CollectionRequired 2016-08-26 01:39:29 +02:00
Markus Unterwaditzer
97bfccdb44 Stylefix for flake8 update 2016-07-26 21:48:42 +02:00
Markus Unterwaditzer
403a683e70 Cosmetic improvements 2016-06-16 15:10:03 +02:00
Markus Unterwaditzer
8c1ae4f099 Kill special codepath for null-collection 2016-06-16 15:10:03 +02:00
Markus Unterwaditzer
54517b61c9 Fix typo that would break tests 2016-06-15 18:13:44 +02:00
Markus Unterwaditzer
f289437e46 Fix validation bugs for collections parameter 2016-06-15 17:17:07 +02:00
Markus Unterwaditzer
4742ea61bc Nicer error message for InvalidResponse
See #448
2016-05-12 18:40:15 +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
208c9ca787 Extra test for collection = null 2016-04-28 21:27:24 +02:00
Markus Unterwaditzer
41c59f4c47 Make discovery explicit (#439)
* Make discovery explicit

Fix #438
2016-04-27 02:17:16 +02:00
Markus Unterwaditzer
2beb854157 Factor out duplicate UID strategies 2016-04-25 21:48:51 +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
8134313390 CLI worker: Show how many tasks failed
Fix #398
2016-04-03 23:36:49 +02:00
Markus Unterwaditzer
3b9ef7a16b Nicer output for unsupported discovery
Fix #347
2016-04-02 23:12:55 +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
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
0d0902cc48 Test OS X 2016-03-12 21:34:45 +01:00
Markus Unterwaditzer
75a9987ec2 Hypothesis: Blacklist surrogates 2016-03-06 22:50:55 +01:00
Markus Unterwaditzer
cd07d7fc68 Add test for proper dependencies 2016-03-04 15:07:55 +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
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
8a6ad410da Tests for fetchparams 2016-02-26 16:39:37 +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
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
21b1bafc48 Add prompt strategy 2015-10-04 13:30:43 +02:00