mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-03-26 09:05:50 +00:00
Merge pull request #308 from untitaker/davical-testserver
Add davical tests to Travis
This commit is contained in:
commit
b96ace761b
3 changed files with 14 additions and 2 deletions
12
.travis.yml
12
.travis.yml
|
|
@ -32,6 +32,12 @@ matrix:
|
|||
env: BUILD=test DAV_SERVER=baikal REQUIREMENTS=release
|
||||
- python: 2.7
|
||||
env: BUILD=test DAV_SERVER=baikal REQUIREMENTS=minimal
|
||||
- python: 2.7
|
||||
env: BUILD=test DAV_SERVER=davical REQUIREMENTS=devel
|
||||
- python: 2.7
|
||||
env: BUILD=test DAV_SERVER=davical REQUIREMENTS=release
|
||||
- python: 2.7
|
||||
env: BUILD=test DAV_SERVER=davical REQUIREMENTS=minimal
|
||||
- python: 3.3
|
||||
env: BUILD=style
|
||||
- python: 3.3
|
||||
|
|
@ -62,6 +68,12 @@ matrix:
|
|||
env: BUILD=test DAV_SERVER=baikal REQUIREMENTS=release
|
||||
- python: 3.5
|
||||
env: BUILD=test DAV_SERVER=baikal REQUIREMENTS=minimal
|
||||
- python: 3.5
|
||||
env: BUILD=test DAV_SERVER=davical REQUIREMENTS=devel
|
||||
- python: 3.5
|
||||
env: BUILD=test DAV_SERVER=davical REQUIREMENTS=release
|
||||
- python: 3.5
|
||||
env: BUILD=test DAV_SERVER=davical REQUIREMENTS=minimal
|
||||
- python: pypy
|
||||
env: BUILD=style
|
||||
- python: pypy
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ with section("matrix"):
|
|||
p(" env: BUILD=style")
|
||||
|
||||
if python in ("2.7", "3.5"):
|
||||
dav_servers = ("radicale", "owncloud", "baikal")
|
||||
dav_servers = ("radicale", "owncloud", "baikal", "davical")
|
||||
else:
|
||||
dav_servers = ("radicale",)
|
||||
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ def _wrap_native(f, encoding='utf-8'):
|
|||
@functools.wraps(f)
|
||||
def wrapper(x, *a, **kw):
|
||||
to_orig = to_unicode if isinstance(x, text_type) else to_bytes
|
||||
return to_orig(f(to_native(x, encoding), *a, **kw))
|
||||
return to_orig(f(to_native(x, encoding), *a, **kw), encoding)
|
||||
return wrapper
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue