File: python3-tests

package info (click to toggle)
azure-kusto-python 5.0.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,704 kB
  • sloc: python: 10,633; sh: 13; makefile: 3
file content (19 lines) | stat: -rwxr-xr-x 566 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash

set -eu
set -o pipefail

# Skip tests that need the internet
export HTTP_PROXY=127.0.0.1:9
export HTTPS_PROXY=127.0.0.1:9

rm -rf "${AUTOPKGTEST_TMP}/tests"
cp -r azure-kusto-data/tests "${AUTOPKGTEST_TMP}"

cd "${AUTOPKGTEST_TMP}"
for p in $(py3versions -s); do
    "${p}" -m pytest -v --deselect=tests/test_security.py::test_unauthorized_exception \
                        --ignore=tests/test_e2e_data.py \
                        --ignore=tests/test_token_providers.py \
                        --ignore=tests/aio/test_async_token_providers.py
done