-if [ -x "$basedir/bin/nosetests" ]; then
- export NOSETESTS="$basedir/bin/nosetests";
- echo "Using $NOSETESTS";
-elif which nosetests > /dev/null; then
- echo "Using nosetests from \$PATH";
- export NOSETESTS="nosetests";
+if [ -x "$basedir/bin/py.test" ]; then
+ export PYTEST="$basedir/bin/py.test";
+ echo "Using $PYTEST";
+elif which py.test > /dev/null; then
+ echo "Using py.test from \$PATH";
+ export PYTEST="py.test";