Skip to content

Commit

Permalink
Merge "Pre-add functional tests stub to notification testing"
Browse files Browse the repository at this point in the history
  • Loading branch information
Jenkins authored and openstack-gerrit committed Mar 27, 2017
2 parents 9dce214 + a718bcc commit 4914abd
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions nova/tests/functional/notification_sample_tests/test_instance.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,17 @@ def test_instance_action(self):
self._test_shelve_offload_server,
self._test_unshelve_server,
self._test_resize_server,
self._test_revert_server,
self._test_resize_confirm_server,
self._test_snapshot_server,
self._test_rebuild_server,
self._test_reboot_server,
self._test_reboot_server_error,
self._test_trigger_crash_dump,
self._test_volume_attach_detach_server,
self._test_rescue_server,
self._test_unrescue_server,
self._test_soft_delete_server,
]

for action in actions:
Expand Down Expand Up @@ -743,3 +750,24 @@ def test_volume_swap_server_with_error(self):
'reservation_id': server['reservation_id'],
'uuid': server['id']},
actual=fake_notifier.VERSIONED_NOTIFICATIONS[3])

def _test_revert_server(self, server):
pass

def _test_resize_confirm_server(self, server):
pass

def _test_trigger_crash_dump(self, server):
pass

def _test_volume_attach_detach_server(self, server):
pass

def _test_rescue_server(self, server):
pass

def _test_unrescue_server(self, server):
pass

def _test_soft_delete_server(self, server):
pass

0 comments on commit 4914abd

Please sign in to comment.