From 15a2a8e9e2b3ef4ea37db54443ecf0583d78629b Mon Sep 17 00:00:00 2001 From: Sean McGinnis Date: Thu, 13 Aug 2020 09:57:44 -0500 Subject: [PATCH] Drop use of third party mock The third party mock library was needed for mocking support across py2 and py3. Now that we have dropped py2 support, we can use the standard library unittest.mock instead. Change-Id: I8b0db843743ba234f35f54e29ca820c909102059 Signed-off-by: Sean McGinnis --- cloudkittydashboard/tests/test_predictive_pricing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloudkittydashboard/tests/test_predictive_pricing.py b/cloudkittydashboard/tests/test_predictive_pricing.py index a5dc317..3224839 100644 --- a/cloudkittydashboard/tests/test_predictive_pricing.py +++ b/cloudkittydashboard/tests/test_predictive_pricing.py @@ -13,9 +13,9 @@ # under the License. import json import os +from unittest import mock from django import http -import mock from cloudkittydashboard.tests import base