From bbf9d963d2f5621f8c720a23715d2e6e0c4247e6 Mon Sep 17 00:00:00 2001
From: inso <insomniak.fr@gmaiL.com>
Date: Tue, 10 Jan 2017 08:18:52 +0100
Subject: [PATCH] Run py.test

---
 ci/appveyor/tests.cmd | 2 +-
 ci/travis/test.sh     | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/ci/appveyor/tests.cmd b/ci/appveyor/tests.cmd
index 094bc394..e901b0ac 100644
--- a/ci/appveyor/tests.cmd
+++ b/ci/appveyor/tests.cmd
@@ -13,6 +13,6 @@ lrelease -version
 
 echo "%CWD%"
 
-python setup.py test
+py.test
 
 if %errorlevel% neq 0 exit /b 1
\ No newline at end of file
diff --git a/ci/travis/test.sh b/ci/travis/test.sh
index fff3ec06..f6567784 100755
--- a/ci/travis/test.sh
+++ b/ci/travis/test.sh
@@ -14,9 +14,9 @@ cd $HOME/build/duniter/sakia
 pyenv shell $PYENV_PYTHON_VERSION
 if [ $TRAVIS_OS_NAME == "linux" ]
 then
-    coverage run --source=sakia.core,sakia.gui,sakia.models pytest
+    coverage run --source=sakia.core,sakia.gui,sakia.models py.test
 else
-    pytest
+    py.test
 fi
 
 
-- 
GitLab