Fix uncaught ConnectionError in scpd_post and scpd_get #22
2 changed files with 3 additions and 8 deletions
|
@ -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
|
||||||
|
|
7
setup.py
7
setup.py
|
@ -38,10 +38,5 @@ setup(
|
||||||
install_requires=[
|
install_requires=[
|
||||||
'netifaces',
|
'netifaces',
|
||||||
'defusedxml'
|
'defusedxml'
|
||||||
],
|
]
|
||||||
extras_require={
|
|
||||||
'test': (
|
|
||||||
'mock',
|
|
||||||
)
|
|
||||||
}
|
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue