Browse Source

Merge "Tests: Don't assert notifier not called" into stable/victoria

changes/00/785700/2
Zuul 4 weeks ago
committed by Gerrit Code Review
parent
commit
010e591beb
1 changed files with 1 additions and 4 deletions
  1. +1
    -4
      cinder/tests/unit/volume/test_volume.py

+ 1
- 4
cinder/tests/unit/volume/test_volume.py View File

@ -256,7 +256,7 @@ class VolumeTestCase(base.BaseVolumeTestCase):
volume_id = volume['id']
self.assertIsNone(volume['encryption_key_id'])
mock_notify.assert_not_called()
self.assertRaises(exception.DriverNotInitialized,
self.volume.create_volume, self.context, volume)
@ -339,7 +339,6 @@ class VolumeTestCase(base.BaseVolumeTestCase):
**self.volume_params)
self.assertIsNone(volume['encryption_key_id'])
mock_notify.assert_not_called()
self.assertRaises(exception.DriverNotInitialized,
self.volume.delete_volume, self.context, volume)
@ -359,8 +358,6 @@ class VolumeTestCase(base.BaseVolumeTestCase):
**self.volume_params)
volume_id = volume['id']
mock_notify.assert_not_called()
self.assertIsNone(volume['encryption_key_id'])
self.volume.create_volume(self.context, volume)


Loading…
Cancel
Save