Merge "Transform rescue/unrescue instance notifications"

This commit is contained in:
Zuul
2018-01-16 08:58:10 +00:00
committed by Gerrit Code Review

View File

@@ -1464,6 +1464,8 @@ class CinderFixture(fixtures.Fixture):
lambda *args, **kwargs: None)
self.test.stub_out('nova.volume.cinder.API.unreserve_volume',
fake_unreserve_volume)
self.test.stub_out('nova.volume.cinder.API.check_attached',
lambda *args, **kwargs: None)
# TODO(mriedem): We can probably pull some of the common parts from the
@@ -1638,6 +1640,8 @@ class CinderFixtureNewAttachFlow(fixtures.Fixture):
lambda *args, **kwargs: None)
self.test.stub_out('nova.volume.cinder.is_microversion_supported',
lambda *args, **kwargs: None)
self.test.stub_out('nova.volume.cinder.API.check_attached',
lambda *args, **kwargs: None)
class PlacementApiClient(object):