Merge "Use unittest.mock instead of mock"

This commit is contained in:
Zuul 2020-07-08 17:09:31 +00:00 committed by Gerrit Code Review
commit 055d1601be
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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