Merge pull request #1804 from harshitasao/issue-1790

Instead of mock, used unittest.mock
This commit is contained in:
Kubernetes Prow Robot 2022-08-15 15:05:55 -07:00 committed by GitHub
commit e3c0042e0f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -15,7 +15,7 @@
import os
import unittest
import mock
from unittest import mock
from .config_exception import ConfigException
from .exec_provider import ExecProvider

View File

@ -22,7 +22,7 @@ import tempfile
import unittest
from collections import namedtuple
import mock
from unittest import mock
import yaml
from six import PY3, next

View File

@ -14,7 +14,7 @@
import unittest
from mock import Mock, call
from unittest.mock import Mock, call
from kubernetes import client