From ac919bf000ced2f8ebf435ecc5e69d8fe517d277 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Beraud?= Date: Tue, 9 Jun 2020 12:21:06 +0200 Subject: [PATCH] Use unittest.mock instead of mock The mock third party library was needed for mock support in py2 runtimes. Since we now only support py36 and later, we can use the standard lib unittest.mock module instead. Change-Id: I837241a34505496a3a152d72f28f23687ded1088 --- doc/requirements.txt | 1 - lower-constraints.txt | 1 - test-requirements.txt | 1 - 3 files changed, 3 deletions(-) diff --git a/doc/requirements.txt b/doc/requirements.txt index f34464e..599ae31 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -7,7 +7,6 @@ # be installed in a specific order. # # Requirements for docs -mock>=2.0.0 # BSD openstackdocstheme>=2.2.1 # Apache-2.0 reno>=3.1.0 # Apache-2.0 sphinx>=2.0.0,!=2.1.0 # BSD diff --git a/lower-constraints.txt b/lower-constraints.txt index 744048f..9909160 100644 --- a/lower-constraints.txt +++ b/lower-constraints.txt @@ -39,7 +39,6 @@ jsonschema==2.6.0 keystoneauth1==3.4.0 linecache2==1.0.0 MarkupSafe==1.0 -mock==2.0.0 monotonic==1.4 msgpack==0.5.6 munch==2.2.0 diff --git a/test-requirements.txt b/test-requirements.txt index 0f72350..f070d4a 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -10,5 +10,4 @@ hacking>=3.0.1,<3.1.0 # Apache-2.0 coverage!=4.4,>=4.0 # Apache-2.0 -mock>=2.0.0 # BSD testtools>=2.3.0 # MIT