Merge "Use unittest.mock instead of mock"
This commit is contained in:
commit
055d1601be
@ -13,7 +13,7 @@
|
||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
from mock import patch
|
||||
from unittest.mock import patch
|
||||
|
||||
from designateclient.tests import v2
|
||||
from designateclient.v2 import zones
|
||||
|
@ -13,9 +13,9 @@
|
||||
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
from unittest.mock import patch
|
||||
import uuid
|
||||
|
||||
from mock import patch
|
||||
import testtools
|
||||
|
||||
from designateclient import exceptions
|
||||
|
@ -16,7 +16,7 @@
|
||||
|
||||
from keystoneauth1.identity import generic
|
||||
from keystoneauth1 import session as keystone_session
|
||||
from mock import Mock
|
||||
from unittest.mock import Mock
|
||||
|
||||
from designateclient.tests import v2
|
||||
from designateclient.v2.client import Client
|
||||
|
Loading…
x
Reference in New Issue
Block a user