diff options
author | Dan Williams <dcbw@redhat.com> | 2012-01-18 18:07:45 -0600 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2012-01-18 18:07:45 -0600 |
commit | fc3fd7b983c564bc6d6523ad1232959734e04025 (patch) | |
tree | 99708f20ac096a8d9a4ebf606e04269cc8e3b844 /test | |
parent | 04e87e70ff629309413c7426d97457e5c58e19fe (diff) |
test: print sent SMS message index on success
Diffstat (limited to 'test')
-rwxr-xr-x | test/mm-send-sms.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/mm-send-sms.py b/test/mm-send-sms.py index 12518131..5977c20a 100755 --- a/test/mm-send-sms.py +++ b/test/mm-send-sms.py @@ -82,7 +82,8 @@ if validity: sms_iface = dbus.Interface(proxy, dbus_interface='org.freedesktop.ModemManager.Modem.Gsm.SMS') try: - sms_iface.Send(msg_dict) + indexes = sms_iface.Send(msg_dict) + print "Message index: %d" % indexes[0] except Exception, e: print "Sending message failed: %s" % e |