File: unittests3

package info (click to toggle)
python-flexmock 0.12.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 460 kB
  • sloc: python: 3,802; makefile: 17; sh: 14
file content (18 lines) | stat: -rwxr-xr-x 575 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/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 ==="
	PYTHONPATH=. python$py tests/test_unittest.py
	python$py tests/test_doctest.py
	python$py -m twisted.trial tests/test_generic_integration.py
	python$py -m zope.testrunner --test-path=. --test-file-pattern=test_generic_integration
	python$py -m testtools.run --verbose tests/test_testtools.py
	python$py -m subunit.run tests/test_generic_integration.py | subunit2pyunit
	python$py -m pytest tests/test_pytest.py
done