when there is a param, load test only for this backend

This commit is contained in:
Romain Bignon 2010-08-30 16:58:56 +02:00
commit 876d05ffa6

View file

@ -1,3 +1,7 @@
#!/bin/bash
find $(dirname $0)/../weboob -name test.py | xargs nosetests -sv
if [ "$1" != "" ]; then
nosetests -sv $(dirname $0)/../weboob/backends/$1
else
find $(dirname $0)/../weboob -name test.py | xargs nosetests -sv
fi