summaryrefslogtreecommitdiff
path: root/heatclient/tests/unit/osc/v1/test_snapshot.py
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2020-06-09 18:14:00 +0000
committerGerrit Code Review <review@openstack.org>2020-06-09 18:14:00 +0000
commit670fe7ce2a31f3111bc3fb80dd80a43500daab87 (patch)
tree73560159fe538c9b85a7712bcfabfdbfc8e35741 /heatclient/tests/unit/osc/v1/test_snapshot.py
parent3fa304428c8837174d045bb271a397346e66a3d8 (diff)
parent8a9566864f678913bdcfcdfc7aac0e04e98d78b7 (diff)
downloadpython-heatclient-670fe7ce2a31f3111bc3fb80dd80a43500daab87.tar.gz
Merge "Use unittest.mock instead of third party mock"2.2.0
Diffstat (limited to 'heatclient/tests/unit/osc/v1/test_snapshot.py')
-rw-r--r--heatclient/tests/unit/osc/v1/test_snapshot.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/heatclient/tests/unit/osc/v1/test_snapshot.py b/heatclient/tests/unit/osc/v1/test_snapshot.py
index 7f69c61..1b99942 100644
--- a/heatclient/tests/unit/osc/v1/test_snapshot.py
+++ b/heatclient/tests/unit/osc/v1/test_snapshot.py
@@ -9,8 +9,9 @@
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
-#
-import mock
+
+from unittest import mock
+
from osc_lib import exceptions as exc
import six