File: unittests3

package info (click to toggle)
python-flexmock 0.10.4-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 336 kB
  • sloc: python: 2,664; makefile: 151; sh: 76
file content (14 lines) | stat: -rwxr-xr-x 314 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
set -efu

pys="$(py3versions -sv 2> /dev/null)"

cp -a tests "$AUTOPKGTEST_TMP"
cd "$AUTOPKGTEST_TMP"

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