~cypheon/dronecov

ref: daf17a6193508decad5fd450fe9043fc86032bde dronecov/runtests.sh -rwxr-xr-x 286 bytes
daf17a61 — Johann Rudloff Add IDs to all test stages in preparation for tavern upgrade. 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

set -e
set -u

ACCESS_TOKEN=$(DRONECOV_DB_URI=sqlite:///./tests/tmp.db pipenv run ./dronecov.py token-batch testuser token-name)
export ACCESS_TOKEN

PYTHONPATH="$PWD:${PYTHONPATH:-}" \
  pipenv run pytest \
  --tavern-global-cfg tests/common.yaml \
  tests/*.tavern.yaml -v