Merge "Use unittest.mock instead of mock"

This commit is contained in:
Zuul
2020-06-23 12:05:44 +00:00
committed by Gerrit Code Review
2 changed files with 3 additions and 3 deletions

View File

@@ -28,7 +28,6 @@ keystoneauth1==3.4.0
linecache2==1.0.0 linecache2==1.0.0
MarkupSafe==1.0 MarkupSafe==1.0
mccabe==0.2.1 mccabe==0.2.1
mock==2.0.0
monotonic==0.6 monotonic==0.6
mox3==0.20.0 mox3==0.20.0
msgpack-python==0.4.0 msgpack-python==0.4.0

View File

@@ -13,11 +13,12 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
from mock import patch
import testtools
from unittest import mock from unittest import mock
from unittest.mock import patch
import uuid import uuid
import testtools
from troveclient.v1 import backups from troveclient.v1 import backups
""" """