File: unittests

package info (click to toggle)
simplebayes 3.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 496 kB
  • sloc: python: 3,322; makefile: 165; sh: 24
file content (6 lines) | stat: -rw-r--r-- 202 bytes parent folder | download
1
2
3
4
5
6
#!/usr/bin/env sh

MIN_COVERAGE=100
cp -r tests $AUTOPKGTEST_TMP
cd $AUTOPKGTEST_TMP
python3 -m pytest --cov=simplebayes --cov-report=term-missing --cov-fail-under=$MIN_COVERAGE --cov-branch tests/*.py