summaryrefslogtreecommitdiff
path: root/taskflow/test.py
diff options
context:
space:
mode:
authorHervé Beraud <hberaud@redhat.com>2021-01-05 09:14:51 +0100
committerMichael Johnson <johnsomor@gmail.com>2021-04-27 21:47:11 +0000
commit14a5c0f237362f88c88f23175268b67084dfac1f (patch)
treed6ad37d362458979ce7f45d59cc3d7355a5cc2a1 /taskflow/test.py
parentf6c7664bad963981413c66ecd15afdb8d62341be (diff)
downloadtaskflow-14a5c0f237362f88c88f23175268b67084dfac1f.tar.gz
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: Ib169e3deb7ddb2bc93a206ebec4043552281aa7f
Diffstat (limited to 'taskflow/test.py')
-rw-r--r--taskflow/test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/taskflow/test.py b/taskflow/test.py
index a9cce35..a5d880a 100644
--- a/taskflow/test.py
+++ b/taskflow/test.py
@@ -16,9 +16,9 @@
import collections
import logging
+from unittest import mock
import fixtures
-import mock
from oslotest import base
import six