summaryrefslogtreecommitdiff
path: root/heat/tests/openstack/swift/test_container.py
diff options
context:
space:
mode:
authorSean McGinnis <sean.mcginnis@gmail.com>2020-04-18 11:52:52 -0500
committerSean McGinnis <sean.mcginnis@gmail.com>2020-05-05 08:42:11 -0500
commitfd6cf83554db68752278d37f577ba984d9f831b2 (patch)
tree1cc932608a8c5af19b39f574f66a92070a328745 /heat/tests/openstack/swift/test_container.py
parent368fdfff42d9cc4ff661a51ed87816834b9e3590 (diff)
downloadheat-fd6cf83554db68752278d37f577ba984d9f831b2.tar.gz
Use unittest.mock instead of third party mock
Now that we no longer support py27, we can use the standard library unittest.mock module instead of the third party mock lib. Change-Id: I8f764e9ba46a4e2055be61eb0fe97d155ab1c70e Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
Diffstat (limited to 'heat/tests/openstack/swift/test_container.py')
-rw-r--r--heat/tests/openstack/swift/test_container.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/heat/tests/openstack/swift/test_container.py b/heat/tests/openstack/swift/test_container.py
index deeb4dae3..82f05b13a 100644
--- a/heat/tests/openstack/swift/test_container.py
+++ b/heat/tests/openstack/swift/test_container.py
@@ -11,8 +11,8 @@
# License for the specific language governing permissions and limitations
# under the License.
+from unittest import mock
-import mock
import swiftclient.client as sc
from heat.common import exception