Displaying 4 results from an estimated 4 matches for "actual_error".
2009 Jun 29
0
[PATCH server] Add svc_vm_actions method to VmService.
...ld_vm).id], 'shutdown_vm', nil)
+ end
+ end
+
+ # Ensure that if a user with the wrong permissions is passed in,
+ # PartialSuccessError contains the message of success and permission error.
+ def test_error_for_svc_vm_actions_invalid_user
+ set_login_user('testuser')
+ actual_error = nil
+ expected_error = PartialSuccessError.new(
+ "Your request to shutdown_vm encountered the following errors: ",
+ {vms(:production_mysqld_vm).description => "You have insufficient privileges to perform action."},
+...
2009 Jun 29
2
One more fix
This resend includes the rebase, but fixes a problem I just noticed with nil/empty checks.
2009 Jun 29
2
Resend of Cloud UI/service patches
This is a resend of the 2-patch series from a week or so ago, needed to be rebased due to some commits on next
2009 Jun 22
2
Patch series for Cloud Vm Actions
The following two patches should be applied in the order:
* [PATCH server] Add svc_vm_actions method to VmService.
* [PATCH server] Cloud UI layer to initiate actions on vms.
The service layer patch should work fine on its own (and not break
anything), but cloud patch relies on service being there.