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: Ib2a1770771096707f70e60d5ab1374e997f519eb Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com> Co-Authored-By: zhurong <aaronzhu1121@gmail.com>
This commit is contained in:
parent
795dc20715
commit
81239f371c
|
@ -14,8 +14,8 @@
|
|||
#
|
||||
|
||||
import copy
|
||||
from unittest import mock
|
||||
|
||||
import mock
|
||||
import six
|
||||
|
||||
from pankoclient.common import base
|
||||
|
|
|
@ -13,7 +13,8 @@
|
|||
# under the License.
|
||||
#
|
||||
|
||||
import mock
|
||||
from unittest import mock
|
||||
|
||||
from oslo_serialization import jsonutils
|
||||
from requests import Response
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
# under the License.
|
||||
#
|
||||
|
||||
import mock
|
||||
from unittest import mock
|
||||
|
||||
from osc_lib.tests import fakes
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
# under the License.
|
||||
#
|
||||
|
||||
import mock
|
||||
from unittest import mock
|
||||
|
||||
from pankoclient.tests.unit import base as test_base
|
||||
from pankoclient.v2 import events as events_mgr
|
||||
|
|
Loading…
Reference in New Issue