CC-4905: Unit tests for Pypo

This commit is contained in:
Martin Konecny 2013-01-31 12:33:14 -05:00
parent 3553ebc2ee
commit 8adb4b259c
5 changed files with 67 additions and 5 deletions

View file

@ -0,0 +1,18 @@
#!/bin/bash
which py.test
pytest_exist=$?
if [ "$pytest_exist" != "0" ]; then
echo "Need to have py.test installed. Exiting..."
exit 1
fi
SCRIPT=`readlink -f $0`
# Absolute directory this script is in
SCRIPTPATH=`dirname $SCRIPT`
export PYTHONPATH=$PYTHONPATH:$SCRIPTPATH/..:$SCRIPTPATH/../..
py.test