diff --git a/lower-constraints.txt b/lower-constraints.txt index cd0dde28..f69b80c1 100644 --- a/lower-constraints.txt +++ b/lower-constraints.txt @@ -22,7 +22,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 diff --git a/oslo_cache/tests/test_cache.py b/oslo_cache/tests/test_cache.py index 333fbb65..353cc64d 100644 --- a/oslo_cache/tests/test_cache.py +++ b/oslo_cache/tests/test_cache.py @@ -15,9 +15,9 @@ import copy import time +from unittest import mock from dogpile.cache import proxy -import mock from oslo_config import cfg from oslo_config import fixture as config_fixture from oslo_utils import uuidutils diff --git a/oslo_cache/tests/test_connection_pool.py b/oslo_cache/tests/test_connection_pool.py index 1351937e..b6c073aa 100644 --- a/oslo_cache/tests/test_connection_pool.py +++ b/oslo_cache/tests/test_connection_pool.py @@ -12,8 +12,8 @@ import threading import time +from unittest import mock -import mock import six from six.moves import queue import testtools diff --git a/test-requirements.txt b/test-requirements.txt index e44e920e..fedd3dbd 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -2,7 +2,6 @@ # of appearance. Changing the order has an impact on the overall integration # process, which may cause wedges in the gate later. hacking>=3.0,<3.1.0 # Apache-2.0 -mock>=2.0.0 # BSD oslotest>=3.2.0 # Apache-2.0 pifpaf>=0.10.0 # Apache-2.0 # Bandit security code scanner