Merge "Use unittest.mock instead of mock"

This commit is contained in:
Zuul 2020-06-10 17:37:40 +00:00 committed by Gerrit Code Review
commit 5c90d93382
4 changed files with 3 additions and 4 deletions

View File

@ -13,8 +13,9 @@
# License for the specific language governing permissions and limitations
# under the License.
from unittest import mock
import contextlib
import mock
import six
import stat
import sys

View File

@ -51,7 +51,6 @@ Mako==0.4.0
MarkupSafe==1.0
mistral-lib==0.3.0
mistral==6.0.0
mock==2.0.0
monotonic==0.6
mox3==0.20.0
msgpack-python==0.4.0

View File

@ -14,7 +14,6 @@ python-subunit>=1.0.0 # Apache-2.0/BSD
testrepository>=0.0.18 # Apache-2.0/BSD
testscenarios>=0.4 # Apache-2.0/BSD
testtools>=2.2.0 # MIT
mock>=2.0.0 # BSD
oslotest>=3.2.0 # Apache-2.0
yaql>=1.1.3 # Apache 2.0 License
ansible-runner>=1.4.2 # Apache

View File

@ -14,8 +14,8 @@
import io
import tempfile
from unittest import mock
import mock
from oslotest import base
import six
import testscenarios