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: Ib6e4e7f89a9990cfb42afa209878812340109ecf
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
This commit is contained in:
Sean McGinnis 2020-04-18 11:52:59 -05:00
parent b36a83ec52
commit 5c2557dbaf
No known key found for this signature in database
GPG Key ID: CE7EE4BFAF8D70C8
4 changed files with 2 additions and 4 deletions

View File

@ -17,10 +17,10 @@
import json
import os
import tempfile
from unittest import mock
import boto.cloudformation as cfn
import fixtures
import mock
import testtools
import testtools.matchers as ttm

View File

@ -14,9 +14,9 @@
# under the License.
import tempfile
from unittest import mock
import fixtures
import mock
import testtools
from heat_cfntools.cfntools import cfn_helper

View File

@ -1,5 +1,4 @@
boto==2.32.1
mock==1.0
pbr==2.0.0
psutil==1.1.1
six==1.9.0

View File

@ -1,4 +1,3 @@
hacking>=3.0.1,<3.1.0 # Apache-2.0
mock>=1.0
stestr>=2.0.0
testtools>=0.9.34