mirror of
https://github.com/sshuttle/sshuttle.git
synced 2025-04-23 10:49:35 +02:00
Added coverage report to tests
This commit is contained in:
parent
41f5b3e9c1
commit
d4bbf3b68d
@ -1,4 +1,5 @@
|
|||||||
-r requirements.txt
|
-r requirements.txt
|
||||||
pytest==3.4.2
|
pytest==3.4.2
|
||||||
|
pytest-cov==2.6.0
|
||||||
mock==2.0.0
|
mock==2.0.0
|
||||||
flake8==3.5.0
|
flake8==3.5.0
|
||||||
|
@ -7,3 +7,6 @@ universal = 1
|
|||||||
[upload]
|
[upload]
|
||||||
sign=true
|
sign=true
|
||||||
identity=0x1784577F811F6EAC
|
identity=0x1784577F811F6EAC
|
||||||
|
|
||||||
|
[tool:pytest]
|
||||||
|
addopts = --cov=sshuttle --cov-branch --cov-report=term-missing
|
||||||
|
8
setup.py
8
setup.py
@ -57,6 +57,12 @@ setup(
|
|||||||
'sshuttle = sshuttle.cmdline:main',
|
'sshuttle = sshuttle.cmdline:main',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
tests_require=['pytest', 'pytest-runner', 'mock'],
|
tests_require=[
|
||||||
|
'pytest',
|
||||||
|
'pytest-cov',
|
||||||
|
'pytest-runner',
|
||||||
|
'mock',
|
||||||
|
'flake8',
|
||||||
|
],
|
||||||
keywords="ssh vpn",
|
keywords="ssh vpn",
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user