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

This commit is contained in:
Zuul 2020-05-06 12:48:51 +00:00 committed by Gerrit Code Review
commit fa3907fe35
4 changed files with 6 additions and 4 deletions

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 cinderclient import api_versions
from oslotest import base

View File

@ -13,8 +13,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from unittest import mock
import ddt
import mock
import netifaces
from oslotest import base

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 cinderclient import exceptions
from oslotest import base

View File

@ -10,8 +10,9 @@
# License for the specific language governing permissions and limitations
# under the License.
from unittest import mock
import ddt
import mock
import netifaces
from cinderclient import exceptions as cinder_exceptions