mirror of
https://github.com/YunoHost/ynh-dev.git
synced 2024-09-03 20:05:59 +02:00
Merge branch 'master' of github.com:Yunohost/ynh-dev
This commit is contained in:
commit
2671da5b03
1 changed files with 3 additions and 3 deletions
6
ynh-dev
6
ynh-dev
|
@ -455,7 +455,7 @@ function run_tests()
|
||||||
done
|
done
|
||||||
|
|
||||||
# Apps for test
|
# Apps for test
|
||||||
cd /ynh-dev/yunohost/src/yunohost/tests
|
cd /ynh-dev/yunohost/src/tests
|
||||||
[ -d "apps" ] || git clone https://github.com/YunoHost/test_apps ./apps
|
[ -d "apps" ] || git clone https://github.com/YunoHost/test_apps ./apps
|
||||||
cd apps
|
cd apps
|
||||||
git pull > /dev/null 2>&1
|
git pull > /dev/null 2>&1
|
||||||
|
@ -467,10 +467,10 @@ function run_tests()
|
||||||
then
|
then
|
||||||
cd /ynh-dev/yunohost/
|
cd /ynh-dev/yunohost/
|
||||||
py.test tests
|
py.test tests
|
||||||
cd /ynh-dev/yunohost/src/yunohost
|
cd /ynh-dev/yunohost/src
|
||||||
py.test tests
|
py.test tests
|
||||||
else
|
else
|
||||||
cd /ynh-dev/yunohost/src/yunohost
|
cd /ynh-dev/yunohost/src
|
||||||
if [[ -z "$TEST_FUNCTION" ]]
|
if [[ -z "$TEST_FUNCTION" ]]
|
||||||
then
|
then
|
||||||
py.test tests/test_"$TEST_MODULE".py
|
py.test tests/test_"$TEST_MODULE".py
|
||||||
|
|
Loading…
Add table
Reference in a new issue