File: run-tests

package info (click to toggle)
python-roborock 4.10.0-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 2,476 kB
  • sloc: python: 16,570; makefile: 17; sh: 6
file content (7 lines) | stat: -rwxr-xr-x 376 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
#!/bin/sh
set -e
cp -r pyproject.toml tests "$AUTOPKGTEST_TMP/" && cd "$AUTOPKGTEST_TMP"
find . -type f -name "*.py" -exec sed -i 's/^from Crypto\./from Cryptodome./g' {} +
for py in $(py3versions -s); do
    $py -Wd -m pytest -v -x --no-cov --ignore=tests/test_api.py --ignore=tests/test_a01_api.py -k "not test_device_trait_command_parsing" --snapshot-warn-unused 2>&1
done