diff options
Diffstat (limited to 'examples/test_power.py')
-rwxr-xr-x | examples/test_power.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/test_power.py b/examples/test_power.py index 43d32f2..e4d6abc 100755 --- a/examples/test_power.py +++ b/examples/test_power.py @@ -44,7 +44,7 @@ if len(computerSystems) > 1: print >>sys.stderr, "More than one Linux_ComputerSystem instance found, don't know which to use." sys.exit(3) -print cliconn.InvokeMethod("RequestPowerStateChange", "Linux_PowerManagementService", +print cliconn.InvokeMethod("RequestPowerStateChange", "Cura_PowerManagementService", ManagedElement=computerSystems[0].path, TimeoutPeriod=pywbem.datetime.now(), PowerState=pywbem.Uint16(state), |