summaryrefslogtreecommitdiff
path: root/test/unit/test_swiftclient.py
diff options
context:
space:
mode:
authorSteve Kowalik <steven@wedontsleep.org>2022-05-24 11:56:35 +1000
committerSteve Kowalik <steven@wedontsleep.org>2022-05-24 11:56:35 +1000
commit20c97e83d3af855e5e238dfa4b10b7bf29533d57 (patch)
tree347b33cdbed1fa19646811744efcaa75ced1a2a4 /test/unit/test_swiftclient.py
parent95f68cd673afe07aef9d14904de1c974fc684ef2 (diff)
downloadpython-swiftclient-20c97e83d3af855e5e238dfa4b10b7bf29533d57.tar.gz
Remove use of mock
Since Python 3.4, the unittest module has provided mock, negating the need for the external dependancy. Switch to using unittest.mock. Change-Id: Idec3aaed2fddd1ece3ed86ee0bcc48f7616d56fa
Diffstat (limited to 'test/unit/test_swiftclient.py')
-rw-r--r--test/unit/test_swiftclient.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/test_swiftclient.py b/test/unit/test_swiftclient.py
index 3b59166..ad2af50 100644
--- a/test/unit/test_swiftclient.py
+++ b/test/unit/test_swiftclient.py
@@ -16,11 +16,11 @@
import gzip
import json
import logging
-import mock
import io
import socket
import string
import unittest
+from unittest import mock
import warnings
import tempfile
from hashlib import md5