File: unittests

package info (click to toggle)
python-flexmock 0.10.2-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 352 kB
  • ctags: 653
  • sloc: python: 2,643; makefile: 151; sh: 86
file content (14 lines) | stat: -rwxr-xr-x 295 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
set -efu

pys="$(pyversions -rv 2> /dev/null)"

cp -a tests "$ADTTMP"
cd "$ADTTMP"

for py in $pys; do
	echo "=== python$py ==="
	python$py tests/flexmock_unittest_test.py 2>&1
	python$py -m nose tests/flexmock_nose_test.py 2>&1
	python$py -m pytest tests/flexmock_pytest_test.py
done