From 95f11aa9410c8db4794b51932931e6ee3da46402 Mon Sep 17 00:00:00 2001 From: Rodolfo Carvalho Date: Sat, 18 Feb 2017 04:25:32 +0100 Subject: Make tests run with either nosetests or pytest And remove explicit dependencies on nose, replacing with pytest. The former is the way forward, for it is a better maintained test library, and a transitive dependency of `molecule`, the test framework we're using to add integration tests to this repo (work in progress). --- test-requirements.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'test-requirements.txt') diff --git a/test-requirements.txt b/test-requirements.txt index 8bfc1b594..c3d0d9387 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -10,3 +10,4 @@ yamllint nose coverage mock +pytest -- cgit v1.2.3 From fbc8d14bec58035601b2bfd571c49993c9f907dc Mon Sep 17 00:00:00 2001 From: Rodolfo Carvalho Date: Sat, 18 Feb 2017 21:17:25 +0100 Subject: Configure pytest to run tests and coverage --- test-requirements.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'test-requirements.txt') diff --git a/test-requirements.txt b/test-requirements.txt index c3d0d9387..c4b54fabe 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -11,3 +11,4 @@ nose coverage mock pytest +pytest-cov -- cgit v1.2.3 From 16ffe4d70f100c3a36dd44ded4e0a4ed47041741 Mon Sep 17 00:00:00 2001 From: Rodolfo Carvalho Date: Sun, 19 Feb 2017 10:48:45 +0100 Subject: Replace nose with pytest --- test-requirements.txt | 1 - 1 file changed, 1 deletion(-) (limited to 'test-requirements.txt') diff --git a/test-requirements.txt b/test-requirements.txt index c4b54fabe..9bb6e058c 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -7,7 +7,6 @@ pylint setuptools-lint PyYAML yamllint -nose coverage mock pytest -- cgit v1.2.3