1
0
mirror of https://github.com/jtesta/ssh-audit.git synced 2025-07-07 14:25:41 -05:00

Import mypy configuration script and run scripts (for Python 2.7 and 3.5).

Import pytest coverage script.
This commit is contained in:
Andris Raugulis
2016-10-19 20:51:57 +03:00
parent fabb4b5bb2
commit ca6cfb81a2
5 changed files with 40 additions and 0 deletions

10
test/coverage.sh Executable file
View File

@ -0,0 +1,10 @@
#!/bin/sh
_cdir=$(cd -- "$(dirname "$0")" && pwd)
type py.test > /dev/null 2>&1
if [ $? -ne 0 ]; then
echo "err: py.test (Python testing framework) not found."
exit 1
fi
cd -- "${_cdir}/.."
mkdir -p html
py.test -v --cov-report=html:html/coverage --cov=ssh-audit test