Merge "Use unittest.mock instead of PyPI mock"

This commit is contained in:
Zuul 2020-04-03 11:45:24 +00:00 committed by Gerrit Code Review
commit 3b90ed3c3c
5 changed files with 4 additions and 5 deletions

View File

@ -11,9 +11,9 @@
# limitations under the License.
import os
from unittest import mock
import fixtures
import mock
from oslo_config import cfg
from oslotest import base as oslotest_base

View File

@ -12,10 +12,10 @@
import fixtures
import itertools
import mock
import os
import requests
import sys
from unittest import mock
from kolla.cmd import build as build_cmd
from kolla import exception

View File

@ -37,7 +37,6 @@ keystoneauth1==3.4.0
linecache2==1.0.0
MarkupSafe==1.0
mccabe==0.2.1
mock==2.0.0
monotonic==1.4
mox3==0.25.0
msgpack==0.5.6

View File

@ -13,8 +13,8 @@
import multiprocessing
import os
import sys
from unittest.mock import patch
from mock import patch
from oslo_log import fixture as log_fixture
from oslo_log import log as logging
from oslotest import base

View File

@ -13,9 +13,9 @@
import copy
import imp
import json
import mock
import os.path
import sys
from unittest import mock
from oslotest import base