mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-25 18:03:50 +00:00
fix coverage collection
This commit is contained in:
parent
dca9139fb2
commit
bfbcbfd737
@ -9,11 +9,11 @@ ignore = E251
|
|||||||
|
|
||||||
[pytest]
|
[pytest]
|
||||||
testpaths = test
|
testpaths = test
|
||||||
addopts = --timeout 30 -s
|
addopts = --timeout 30 -s --cov netlib --cov mitmproxy --cov pathod
|
||||||
|
|
||||||
[coverage:run]
|
[coverage:run]
|
||||||
branch = True
|
branch = True
|
||||||
include = mitmproxy netlib pathod
|
include = *mitmproxy*, *netlib*, *pathod*
|
||||||
omit = *contrib*, *tnetstring*, *platform*, *console*, *main.py
|
omit = *contrib*, *tnetstring*, *platform*, *console*, *main.py
|
||||||
|
|
||||||
[coverage:report]
|
[coverage:report]
|
||||||
|
Loading…
Reference in New Issue
Block a user