Merge "Use unittest.mock instead of third party mock"

This commit is contained in:
Zuul 2020-06-19 07:54:21 +00:00 committed by Gerrit Code Review
commit 25d108c004
7 changed files with 7 additions and 7 deletions

View File

@ -13,8 +13,8 @@
# under the License.
import json
from unittest import mock
import mock
import six

View File

@ -10,9 +10,9 @@
# License for the specific language governing permissions and limitations
# under the License.
import mock
from openstack import connection as sdk_connection
import testtools
from unittest import mock
from cyborgclient.osc import plugin

View File

@ -12,8 +12,8 @@
#
from cyborgclient.tests.unit.osc import fakes
import mock
from osc_lib.tests import utils
from unittest import mock
import uuid
deployable_created_at = '2019-06-24T00:00:00.000000+00:00'

View File

@ -14,10 +14,10 @@
import re
import sys
from unittest import mock
import fixtures
from keystoneauth1 import fixture
import mock
import six
from testtools import matchers

View File

@ -12,8 +12,8 @@
# under the License.
import re
from unittest import mock
import mock
from testtools import matchers
from cyborgclient.tests.unit import utils

View File

@ -10,7 +10,7 @@
# License for the specific language governing permissions and limitations
# under the License.
import mock
from unittest import mock
from cyborgclient.tests.unit.v1 import shell_test_base

View File

@ -12,8 +12,8 @@
# License for the specific language governing permissions and limitations
# under the License.
import mock
import testtools
from unittest import mock
from cyborgclient.v1 import client