Package list python-castellan / 27cf110
Use unittest.mock instead of third party mock 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: Ib3028d55552ef51d93aaf38653bca888166e6d27 Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com> Sean McGinnis 1 year, 5 months ago
2 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
1616 Test cases for the barbican key manager.
1717 """
1818 import calendar
19 from unittest import mock
1920
2021 from barbicanclient import exceptions as barbican_exceptions
21 import mock
2222 from oslo_utils import timeutils
2323
2424 from castellan.common import exception
1717 """
1818
1919 import binascii
20 import mock
20 from unittest import mock
2121
2222 from oslo_config import cfg
2323