From 2dd101a3af92b357cf54f3f6983db293fea60934 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Beraud?= Date: Tue, 9 Jun 2020 00:07:31 +0200 Subject: 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: I59926bc1c116ec6fa0aef270a18001d27dfd3bb3 --- designate/tests/test_quota/test_quota.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/designate/tests/test_quota/test_quota.py b/designate/tests/test_quota/test_quota.py index 99f7d423..039dbf7e 100644 --- a/designate/tests/test_quota/test_quota.py +++ b/designate/tests/test_quota/test_quota.py @@ -13,7 +13,7 @@ # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # License for the specific language governing permissions and limitations # under the License. -import mock +from unittest import mock from testscenarios import load_tests_apply_scenarios as load_tests # noqa import testtools -- cgit v1.2.1