Commit graph

27 commits

Author SHA1 Message Date
Hugo Osvaldo Barrera
5b8f00e720 Sort imports 2021-07-25 18:35:47 +02:00
Hugo Osvaldo Barrera
1a1f6f0788 Initial async support
Add asyncio to the storage backends and most of the codebase. A lot of
it merely uses asyncio APIs, but still doesn't actually run several
things concurrently internally. Further improvements will be added on
top of these changes

Thanks to  Thomas Grainger (@graingert) for a few useful pointers
related to asyncio.
2021-06-26 13:40:35 +02:00
Hugo Osvaldo Barrera
6c80293a98 Mark failing baikal tests as xfail 2021-06-12 13:26:01 +02:00
Hugo Osvaldo Barrera
d2d41e5df1 Use black to auto-format the codebase 2021-05-06 19:28:54 +02:00
Hugo Osvaldo Barrera
14deb20ce5 Merge remote-tracking branch 'origin/master' into next 2020-06-10 21:10:02 +02:00
Hugo Osvaldo Barrera
1031b07349 Fix test failures that ONLY happen on master 2020-06-09 17:04:22 +02:00
Hugo Osvaldo Barrera
b1b4dd92fe Sort imports
I don't want to ever have to sort imports again. It's a poor use of
developer time. Automate this with a pre-commit hook, and check this on
CI.

Developers: I suggest you configure your editor to use
`reorder_python_imports`. It uses the standard sorting, and detects
first/third party libs well.
2020-06-09 14:34:45 +02:00
Hugo Osvaldo Barrera
308289febf Remove python2 leftover code 2020-06-08 18:40:33 +02:00
Hugo Osvaldo Barrera
7e4a0be674 Upgrade flake8
Update to the latest flake8, and fix all code warnings related to that.
2020-06-08 18:40:31 +02:00
Markus Unterwaditzer
3112e6899e Remove invalid ascii chars from xml, fix #626 (#668)
* Remove invalid ascii chars from xml, fix #626

* Add changelog

* Remove unused imports

* Fix errors on older Python versions

* Fix tests
2017-09-13 20:55:03 +02:00
Markus Unterwaditzer
6aeeb90259 Test iCloud (#567)
* Test iCloud

Fix #149
2017-02-27 19:52:24 +01:00
Markus Unterwaditzer
af5705f740 Return back to None as non-ETag
nextCloud now returns no etag on upload, which is why we're forced to
adapt the tests accordingly. So now we need to specify a fixed value for
"no etag returned" such that the tests can act accordingly. We also need
to test that the sync algorithm works properly with None.
2017-01-12 13:52:32 +01:00
Markus Unterwaditzer
6f4ff7aab1 Replace Dav with DAV
Fix #501
2016-09-27 10:46:17 +02:00
Markus Unterwaditzer
f0e842ac41 Split up caldav and carddav tests 2015-07-25 03:30:47 +02:00
Markus Unterwaditzer
475671f437 Less files 2014-03-26 18:11:26 +01:00
Markus Unterwaditzer
bc512d454d Fix typo 2014-03-23 10:31:06 +01:00
Markus Unterwaditzer
9e8fdcd351 More testing 2014-03-23 10:14:38 +01:00
Markus Unterwaditzer
ab77840b5e Skip radicale tests for broken database storage. 2014-03-21 17:38:01 +01:00
Markus Unterwaditzer
4f51b31405 Loosen up testsuite again 2014-03-19 00:07:44 +01:00
Markus Unterwaditzer
736b7359a6 Flake8 2014-03-17 19:33:55 +01:00
Markus Unterwaditzer
17f9ccc895 Remove unittest inheritance 2014-03-17 19:30:39 +01:00
Markus Unterwaditzer
8db16454f8 More tests
I was bored
2014-03-13 16:22:50 +01:00
Markus Unterwaditzer
bef7b3e25a Remove unnecessary variable 2014-03-09 11:22:11 +01:00
Markus Unterwaditzer
bcc3dc560e Flake 8 2014-03-09 03:40:24 +01:00
Markus Unterwaditzer
1018ed6da6 More tests 2014-03-05 21:42:37 +01:00
Markus Unterwaditzer
273cc4d6fd Fixed a lot of tests 2014-03-04 17:27:09 +01:00
Markus Unterwaditzer
5c91f48f0e Move tests outside package
These tests will get so big we won't want to distribute them to users
2014-03-02 19:21:15 +01:00
Renamed from vdirsyncer/tests/storage/dav/test_caldav.py (Browse further)