summaryrefslogtreecommitdiffstats
path: root/test/receive-sms
AgeCommit message (Collapse)AuthorFilesLines
2014-11-24test: Support receiving SMS with non-ASCII charsNeil Jerram1-1/+1
Without this I get the following Python traceback, for an SMS that contains the UK pound sign. ERROR:dbus.connection:Exception in handler for D-Bus signal: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 230, in maybe_handle_message self._handler(*args, **kwargs) File "./receive-sms", line 9, in incoming_message print("%s" % (message)) UnicodeEncodeError: 'ascii' codec can't encode character u'\xa3' in position 51: ordinal not in range(128)
2014-03-11test: Convert to Python 3Martin Pitt1-1/+1
Change raw_input() to input() and unicode to str. This is *not* compatible with Python 2. Update the hashbangs to run with Python 3.
2014-03-11test: Move from static gobject bindings to GIMartin Pitt1-2/+2
Use GLib gobject-introspection bindings so that we can also use the scripts with Python 3.
2014-03-11test: Make print calls compatible with Python 3Martin Pitt1-2/+2
Turn print calls into print() function calls and avoid using comma-separated arguments, so that they work and look the same with both Python 2 and 3.
2009-09-25Add some more test scripts for SMS and voice call testingMarcel Holtmann1-0/+33