mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-27 14:57:41 +00:00
Merge pull request #926 from pimutils/python37-tests
Run tests CI python 3.7
This commit is contained in:
commit
54e829262d
2 changed files with 8 additions and 2 deletions
6
.gitlab-ci.yml
Normal file
6
.gitlab-ci.yml
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
python37:
|
||||||
|
image: python:3.7
|
||||||
|
before_script:
|
||||||
|
- make -e install-dev
|
||||||
|
script:
|
||||||
|
- make -e ci-test
|
||||||
|
|
@ -140,8 +140,8 @@ async def request(
|
||||||
|
|
||||||
kwargs.pop("cert", None) # TODO XXX FIXME!
|
kwargs.pop("cert", None) # TODO XXX FIXME!
|
||||||
|
|
||||||
# Hacks to translate API
|
auth = kwargs.pop("auth", None)
|
||||||
if auth := kwargs.pop("auth", None):
|
if auth:
|
||||||
kwargs["auth"] = aiohttp.BasicAuth(*auth)
|
kwargs["auth"] = aiohttp.BasicAuth(*auth)
|
||||||
|
|
||||||
r = func(method, url, ssl=ssl, **kwargs)
|
r = func(method, url, ssl=ssl, **kwargs)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue