From 7b7ff53fc1c010ddd7f0c8d7f5c1645f240db2c2 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Wed, 3 Aug 2016 09:27:50 +0200 Subject: [PATCH] test requirements: Update pytest-mock to 1.2 - Try to import mock first instead of unittest.mock. This gives the user flexibility to install a newer mock version from PyPI instead of using the one available in the Python distribution. - mock.sentinel is now aliased as mocker.sentinel for convenience. --- misc/requirements/requirements-tests.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/requirements/requirements-tests.txt b/misc/requirements/requirements-tests.txt index 36c8b218a..ecec6b37b 100644 --- a/misc/requirements/requirements-tests.txt +++ b/misc/requirements/requirements-tests.txt @@ -21,7 +21,7 @@ pytest-catchlog==1.2.2 pytest-cov==2.3.0 pytest-faulthandler==1.3.0 pytest-instafail==0.3.0 -pytest-mock==1.1 +pytest-mock==1.2 pytest-qt==2.0.0 pytest-repeat==0.3.0 pytest-rerunfailures==2.0.0