diff --git a/lower-constraints.txt b/lower-constraints.txt index 62bdd2e..bf16b6d 100644 --- a/lower-constraints.txt +++ b/lower-constraints.txt @@ -19,7 +19,6 @@ keystoneauth1==3.4.0 linecache2==1.0.0 MarkupSafe==1.0 mccabe==0.2.1 -mock==2.0.0 mox3==0.20.0 msgpack==0.6.0 netaddr==0.7.18 diff --git a/oslo_privsep/tests/test_capabilities.py b/oslo_privsep/tests/test_capabilities.py index af9ae14..725ea24 100644 --- a/oslo_privsep/tests/test_capabilities.py +++ b/oslo_privsep/tests/test_capabilities.py @@ -12,7 +12,7 @@ # License for the specific language governing permissions and limitations # under the License. -import mock +from unittest import mock from oslotest import base diff --git a/oslo_privsep/tests/test_daemon.py b/oslo_privsep/tests/test_daemon.py index c2b3efd..f3f3ffe 100644 --- a/oslo_privsep/tests/test_daemon.py +++ b/oslo_privsep/tests/test_daemon.py @@ -16,10 +16,10 @@ import copy import fixtures import functools import logging as pylogging -import mock import platform import sys import time +from unittest import mock from oslo_log import formatters from oslo_log import log as logging diff --git a/oslo_privsep/tests/test_priv_context.py b/oslo_privsep/tests/test_priv_context.py index d02f78e..d6480db 100644 --- a/oslo_privsep/tests/test_priv_context.py +++ b/oslo_privsep/tests/test_priv_context.py @@ -19,8 +19,8 @@ import pipes import platform import sys import tempfile +from unittest import mock -import mock import testtools from oslo_privsep import daemon diff --git a/test-requirements.txt b/test-requirements.txt index 6d79b2b..ba4b3d1 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -4,7 +4,6 @@ hacking>=3.0,<3.1.0 # Apache-2.0 oslotest>=3.2.0 # Apache-2.0 -mock>=2.0.0 # BSD fixtures>=3.0.0 # Apache-2.0/BSD stestr>=2.0.0 # Apache-2.0