search for: vmservicetest

Displaying 5 results from an estimated 5 matches for "vmservicetest".

Did you mean: vm_service_test
2009 Jul 01
1
[PATCH server] fixed expected status messages that were failing unit/functional tests.
..._redirected_to :action => :index, :ids => vms(:production_mysqld_vm).id end diff --git a/src/test/unit/vm_service_test.rb b/src/test/unit/vm_service_test.rb index 7bd00ad..45b882b 100644 --- a/src/test/unit/vm_service_test.rb +++ b/src/test/unit/vm_service_test.rb @@ -84,7 +84,7 @@ class VmServiceTest < ActiveSupport::TestCase # (should be the same message if one or more, so we have one test for # each of those cases) def test_success_message_from_single_vm - assert_equal("shutdown_vm successful.", + assert_equal("shutdown_vm submitted.", svc_vm_actio...
2009 Jun 29
0
[PATCH server] Add svc_vm_actions method to VmService.
...; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, +# MA 02110-1301, USA. A copy of the GNU General Public License is +# also available at http://www.gnu.org/copyleft/gpl.html. + + +require File.dirname(__FILE__) + '/../test_helper' + +class VmServiceTest < ActiveSupport::TestCase + + include ServiceModuleHelper + include VmService + fixtures :vms + + def setup + set_login_user('ovirtadmin') + end + + # Ensure correct message is returned for a valid action requested + # by a user with the proper permissions + def test_svc_vm_ac...
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.