Merge "Use unittest.mock instead of mock"

This commit is contained in:
Zuul 2020-06-25 15:01:17 +00:00 committed by Gerrit Code Review
commit 337de39d71
4 changed files with 3 additions and 4 deletions

View File

@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import mock
from unittest import mock
from saharaclient.api import cluster_templates
from saharaclient.api import clusters
from saharaclient.api import data_sources

View File

@ -18,7 +18,7 @@ import sys
from jsonschema import exceptions
import pkg_resources as pkg
import mock
from unittest import mock
import testtools
from sahara_tests import version

View File

@ -13,7 +13,7 @@
import os
import mock
from unittest import mock
import testtools
from sahara_tests.scenario import utils

View File

@ -8,5 +8,4 @@ bandit!=1.6.0
bashate>=0.2 # Apache-2.0
coverage>=3.6 # Apache-2.0
doc8 # Apache-2.0
mock>=1.2 # BSD
pylint==1.4.5 # GNU GPL v2