From 4ef452bac9dfa843f7eaf11329bc1710a1a100b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Beraud?= Date: Mon, 8 Jun 2020 22:22:45 +0200 Subject: [PATCH] drop mock from lower-constraints and requirements The mock third party library was needed for mock support in py2 runtimes. Since we now only support py36 and later, we don't need it in lower-constraints and requirements. These changes will help us to drop `mock` from openstack/requirements Change-Id: I25645fcff3c772d5c5cd1f4564385fa943871e01 --- bashate/tests/test_bashate.py | 2 +- test-requirements.txt | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/bashate/tests/test_bashate.py b/bashate/tests/test_bashate.py index b1325e7..5212f41 100644 --- a/bashate/tests/test_bashate.py +++ b/bashate/tests/test_bashate.py @@ -17,7 +17,7 @@ test_bashate Tests for `bashate` module. """ -import mock +from unittest import mock from bashate import bashate from bashate import messages diff --git a/test-requirements.txt b/test-requirements.txt index 1e241ee..e2270b0 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -3,7 +3,6 @@ # process, which may cause wedges in the gate later. hacking>=3.0.1,<3.1.0 # Apache-2.0 -mock>=1.2 coverage>=3.6 discover