diff --git a/ironic_inspector/test/unit/test_plugins_base_physnet.py b/ironic_inspector/test/unit/test_plugins_base_physnet.py index b41d0c36b..ceadc14cc 100644 --- a/ironic_inspector/test/unit/test_plugins_base_physnet.py +++ b/ironic_inspector/test/unit/test_plugins_base_physnet.py @@ -13,7 +13,8 @@ # See the License for the specific language governing permissions and # limitations under the License. -import mock +from unittest import mock + from oslo_config import cfg from ironic_inspector import node_cache diff --git a/ironic_inspector/test/unit/test_plugins_physnet_cidr_map.py b/ironic_inspector/test/unit/test_plugins_physnet_cidr_map.py index 5c27a00e3..d1b4b7acf 100644 --- a/ironic_inspector/test/unit/test_plugins_physnet_cidr_map.py +++ b/ironic_inspector/test/unit/test_plugins_physnet_cidr_map.py @@ -11,7 +11,8 @@ # See the License for the specific language governing permissions and # limitations under the License. -import mock +from unittest import mock + from openstack import exceptions from oslo_config import cfg diff --git a/lower-constraints.txt b/lower-constraints.txt index 804da82c3..808acb92d 100644 --- a/lower-constraints.txt +++ b/lower-constraints.txt @@ -49,7 +49,6 @@ kombu==4.6.8 linecache2==1.0.0 Mako==1.1.2 MarkupSafe==1.1.1 -mock==3.0.0 monotonic==1.5 mox3==1.0.0 msgpack==1.0.0