File: pytest

package info (click to toggle)
python-requests-toolbelt 1.0.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 876 kB
  • sloc: python: 3,653; makefile: 166; sh: 7
file content (12 lines) | stat: -rw-r--r-- 567 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

set -e -u -x

cp -r tests "$AUTOPKGTEST_TMP"
# Copy setup.py because is used in tests
cp setup.py "$AUTOPKGTEST_TMP"
cd "$AUTOPKGTEST_TMP"

for py in $(py3versions -s); do
    $py -m pytest -k 'not test_reads_open_file_objects and not test_reads_open_file_objects_using_to_string and not test_reads_open_file_objects_with_a_specified_filename and not test_dump_response and not test_dump_all and not test_prepared_request_override_base and not test_prepared_request_with_base and not test_request_override_base and not test_request_with_base' -v 2>&1
done