File: ansible-tests

package info (click to toggle)
python-mitogen 0.3.26-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,456 kB
  • sloc: python: 22,134; sh: 183; makefile: 74; perl: 19; ansic: 18
file content (11 lines) | stat: -rwxr-xr-x 311 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
set -eufx

cp -a tests/ansible "$AUTOPKGTEST_TMP/ansible-tests"
sed -e "s/TESTS_DIR, 'ansible', /TESTS_DIR, /" tests/testlib.py \
    > "$AUTOPKGTEST_TMP/ansible-tests/testlib.py"
cd "$AUTOPKGTEST_TMP"

python3 -m unittest discover -v \
    --start-directory ansible-tests \
    --pattern '*_test.py'