File: pytest

package info (click to toggle)
jupyter-notebook 6.4.13-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 13,860 kB
  • sloc: javascript: 20,765; python: 15,658; makefile: 255; sh: 160
file content (16 lines) | stat: -rw-r--r-- 399 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh -e

export XDG_RUNTIME_DIR=$AUTOPKGTEST_TMP/runtime
export HOME=$AUTOPKGTEST_TMP/home
mkdir -p $XDG_RUNTIME_DIR $HOME
chmod 0700 $XDG_RUNTIME_DIR

DEBIAN_DIR=$(pwd)/debian

for py in $(py3versions -s)
do
    cd "$AUTOPKGTEST_TMP"
    echo "Testing with $py"
    $DEBIAN_DIR/run-tests $DEBIAN_DIR/get-test-exclusions autopkgtest $py \
      -m pytest $PYTEST_OPTIONS --pyargs notebook
done