summaryrefslogtreecommitdiff
path: root/ceilometermiddleware/tests
diff options
context:
space:
mode:
authorSean McGinnis <sean.mcginnis@gmail.com>2020-04-18 11:52:18 -0500
committerSean McGinnis <sean.mcginnis@gmail.com>2020-04-18 11:52:18 -0500
commit0b6708e986f3df41854d34f47d9e6e26d3884748 (patch)
treebb1a7746a5327d30358deae9db289857efd87b31 /ceilometermiddleware/tests
parentdeacd8d7821cdee03fa9c86409c90e046e349acd (diff)
downloadceilometermiddleware-0b6708e986f3df41854d34f47d9e6e26d3884748.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: I64f6f5df4d82faef205e5019be5a41c1b1f1f1fa Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
Diffstat (limited to 'ceilometermiddleware/tests')
-rw-r--r--ceilometermiddleware/tests/test_swift.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ceilometermiddleware/tests/test_swift.py b/ceilometermiddleware/tests/test_swift.py
index f8f849d..6059978 100644
--- a/ceilometermiddleware/tests/test_swift.py
+++ b/ceilometermiddleware/tests/test_swift.py
@@ -13,8 +13,8 @@
# License for the specific language governing permissions and limitations
# under the License.
import threading
+from unittest import mock
-import mock
from oslo_config import cfg
import six