Fix for bug 78: AmNodeStateCommunicatorTest throws a runtime exception
[profile/ivi/genivi/genivi-audio-manager.git] / AudioManagerDaemon / test / AmNodeStateCommunicatorTest / send2nsm.py
index 3b6cad3..c7e8bf5 100644 (file)
@@ -53,7 +53,7 @@ def LifecycleRequest(Request,RequestID):
        bus = dbus.SessionBus()
        remote_object = bus.get_object('org.genivi.NodeStateManager','/org/genivi/NodeStateManager')
        iface = dbus.Interface(remote_object, 'org.genivi.NodeStateManager.Control')
-       iface.sendLifeCycleRequest(Request,RequestID)
+       iface.sendLifeCycleRequest(dbus.UInt32(Request),dbus.UInt32(RequestID))
 
 command=sys.argv[1]
 if command=="nodeState":