File: pytest

package info (click to toggle)
python-flaky 3.8.1-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 340 kB
  • sloc: python: 1,320; makefile: 11; sh: 10
file content (14 lines) | stat: -rwxr-xr-x 473 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#! /bin/sh

set -e

cp -a test "$AUTOPKGTEST_TMP"
cd "$AUTOPKGTEST_TMP"

for py in $(py3versions -s) ; do
    echo "Testing with $py:"
    $py -m pytest -v -k "example and not options" --doctest-modules test/test_pytest/
    $py -m pytest -v -k "example and not options" -n 1 test/test_pytest/
    $py -m pytest -v -p no:flaky test/test_pytest/test_flaky_pytest_plugin.py
    $py -m pytest -v --force-flaky --max-runs 2 test/test_pytest/test_pytest_options_example.py
done