You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by an...@apache.org on 2017/05/02 05:12:16 UTC
[06/12] libcloud git commit: switch to pytest as the main runner
switch to pytest as the main runner
Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/047b75ec
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/047b75ec
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/047b75ec
Branch: refs/heads/trunk
Commit: 047b75ecf8a2621d460b0cc4110bd4bcfc18e991
Parents: 4be01de
Author: Anthony Shaw <an...@apache.org>
Authored: Mon Apr 24 12:15:30 2017 +1000
Committer: Anthony Shaw <an...@apache.org>
Committed: Mon Apr 24 12:15:30 2017 +1000
----------------------------------------------------------------------
requirements-tests.txt | 3 ++-
tox.ini | 4 +---
2 files changed, 3 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/libcloud/blob/047b75ec/requirements-tests.txt
----------------------------------------------------------------------
diff --git a/requirements-tests.txt b/requirements-tests.txt
index 35db592..a92d325 100644
--- a/requirements-tests.txt
+++ b/requirements-tests.txt
@@ -6,4 +6,5 @@ mock>=1.0.1,<1.1
coveralls
coverage<4.0
requests
-requests_mock
\ No newline at end of file
+requests_mock
+pytest
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/libcloud/blob/047b75ec/tox.ini
----------------------------------------------------------------------
diff --git a/tox.ini b/tox.ini
index 2f8b966..e0cc15a 100644
--- a/tox.ini
+++ b/tox.ini
@@ -11,9 +11,7 @@ deps =
set-env =
COVERALLS_REPO_TOKEN = GAB5ZuovdsVEFxSIyZE8YhDYU886iGW54
commands = cp libcloud/test/secrets.py-dist libcloud/test/secrets.py
- python setup.py test
-# coverage run --source=libcloud setup.py test
-# coveralls
+ py.test
basepython =
py2.6: python2.6
{py2.7,lint,pylint,docs,coverage}: python2.7