#!/bin/bash TOP_DIR=$(dirname $(realpath "$0")) cd $TOP_DIR/test pytest $@ rvalue=$? cd - exit $rvalue