Merge pull request #926 from pimutils/python37-tests

Run tests CI python 3.7
This commit is contained in:
Hugo Osvaldo Barrera 2021-08-07 23:29:13 +02:00 committed by GitHub
commit 54e829262d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 2 deletions

6
.gitlab-ci.yml Normal file
View file

@ -0,0 +1,6 @@
python37:
image: python:3.7
before_script:
- make -e install-dev
script:
- make -e ci-test

View file

@ -140,8 +140,8 @@ async def request(
kwargs.pop("cert", None) # TODO XXX FIXME!
# Hacks to translate API
if auth := kwargs.pop("auth", None):
auth = kwargs.pop("auth", None)
if auth:
kwargs["auth"] = aiohttp.BasicAuth(*auth)
r = func(method, url, ssl=ssl, **kwargs)