diff options
author | Sean McGinnis <sean.mcginnis@gmail.com> | 2020-03-31 14:10:59 -0500 |
---|---|---|
committer | Sean McGinnis <sean.mcginnis@gmail.com> | 2020-03-31 14:32:21 -0500 |
commit | 8b2aaa3f6cdcd1840b2b101dd3d0d9bc2034ad9d (patch) | |
tree | 953e3f8f2f2e4d563dbade2422114f3a896cdaf3 /oslo_middleware/tests/test_correlation_id.py | |
parent | a9f4f3fe91672655db5246b50d502c78333f5793 (diff) | |
download | oslo-middleware-8b2aaa3f6cdcd1840b2b101dd3d0d9bc2034ad9d.tar.gz |
Now that we no longer support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.
Change-Id: I15fc9e39d69f817fb5db8ce7111d0397a25c94b0
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
Diffstat (limited to 'oslo_middleware/tests/test_correlation_id.py')
-rw-r--r-- | oslo_middleware/tests/test_correlation_id.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/oslo_middleware/tests/test_correlation_id.py b/oslo_middleware/tests/test_correlation_id.py index e2685bf..738fa37 100644 --- a/oslo_middleware/tests/test_correlation_id.py +++ b/oslo_middleware/tests/test_correlation_id.py @@ -13,8 +13,9 @@ # License for the specific language governing permissions and limitations # under the License. +from unittest import mock + import fixtures -import mock from oslotest import base as test_base from oslo_middleware import correlation_id |