File: testsuite

package info (click to toggle)
python-cassandra-driver 3.29.2-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,144 kB
  • sloc: python: 51,532; ansic: 768; makefile: 136; sh: 13
file content (23 lines) | stat: -rw-r--r-- 448 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh
set -efu

pys="$(py3versions -s 2> /dev/null)"

CASSANDRA_VERSION=$(dpkg-parsechangelog -SVersion | cut -d- -f1)
export CASSANDRA_VERSION

export EVENTLET_NO_GREENDNS=yes

cp -a tests "$AUTOPKGTEST_TMP"
cd "$AUTOPKGTEST_TMP"

# Remove cython tests for now
rm -R -f tests/unit/cython/

# Remove test that use internet connection
rm -R -f tests/unit/advanced/cloud/

for py in $pys; do
	echo "=== $py ==="
	$py -m pytest -v tests 2>&1
done