forked from Icycoide/searxng
Switch to code-cov
This commit is contained in:
parent
6ebfdf0bb3
commit
fb587f11fe
4 changed files with 7 additions and 6 deletions
|
@ -73,9 +73,9 @@ unit_tests() {
|
|||
|
||||
py_test_coverage() {
|
||||
echo '[!] Running python test coverage'
|
||||
PYTHONPATH=`pwd` python -m nose2 -C --coverage "$SEARX_DIR" -s "$BASE_DIR/tests/unit"
|
||||
coverage report
|
||||
coverage html
|
||||
PYTHONPATH=`pwd` python -m nose2 -C --log-capture --with-coverage --coverage "$SEARX_DIR" -s "$BASE_DIR/tests/unit" \
|
||||
&& coverage report \
|
||||
&& coverage html
|
||||
}
|
||||
|
||||
robot_tests() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue