test: Add cancel-sms script

osmo-gsm-tester-1.20
Denis Kenzior 7 years ago
parent 4f8d85665d
commit ee98484193

@ -685,6 +685,7 @@ test_scripts = test/backtrace \
test/receive-sms \
test/remove-contexts \
test/send-sms \
test/cancel-sms \
test/set-mic-volume \
test/set-speaker-volume \
test/test-stk-menu \

@ -0,0 +1,15 @@
#!/usr/bin/python3
import sys
import dbus
bus = dbus.SystemBus()
manager = dbus.Interface(bus.get_object('org.ofono', '/'),
'org.ofono.Manager')
path = sys.argv[1]
message = dbus.Interface(bus.get_object('org.ofono', path),
'org.ofono.Message')
message.Cancel()
Loading…
Cancel
Save