Fix uncaught ConnectionError in scpd_post and scpd_get #22

Merged
jackrobison merged 3 commits from catch-connection-error into master 2020-01-15 22:37:03 +01:00
2 changed files with 3 additions and 8 deletions
Showing only changes of commit 1c6fd31796 - Show all commits

View file

@ -9,7 +9,7 @@ jobs:
name: "mypy" name: "mypy"
before_install: before_install:
- pip install mypy lxml - pip install mypy lxml
- pip install -e .[test] - pip install -e .
script: script:
- mypy aioupnp --txt-report . --scripts-are-modules; cat index.txt; rm index.txt - mypy aioupnp --txt-report . --scripts-are-modules; cat index.txt; rm index.txt
@ -20,7 +20,7 @@ jobs:
python: "3.8" python: "3.8"
before_install: before_install:
- pip install pylint coverage - pip install pylint coverage
- pip install -e .[test] - pip install -e .
script: script:
- HOME=/tmp coverage run -m unittest discover -v tests - HOME=/tmp coverage run -m unittest discover -v tests

View file

@ -38,10 +38,5 @@ setup(
install_requires=[ install_requires=[
'netifaces', 'netifaces',
'defusedxml' 'defusedxml'
], ]
extras_require={
'test': (
'mock',
)
}
) )