Commit Graph

22 Commits

Author SHA1 Message Date
Martin Pitt c027ab9fbc test: Convert to Python 3
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-11 19:34:08 -05:00
Martin Pitt ad4f90684f test: Move from static gobject bindings to GI
Use GLib gobject-introspection bindings so that we can also use the
scripts with Python 3.
2014-03-11 19:33:16 -05:00
Martin Pitt 0c1fcd2b50 test: Make print calls compatible with Python 3
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.
2014-03-11 19:32:18 -05:00
Denis Kenzior ef2066b004 test: Fix ascii conversion exception 2012-11-22 06:51:01 -06:00
Denis Kenzior 46d180e9a3 test: Add support for CSSI/CSSU notifications 2012-08-07 01:31:12 -05:00
Denis Kenzior 97917c8f69 test: Fix weird formatting mis-matches 2012-08-07 01:31:12 -05:00
Denis Kenzior 8f2237dd78 test: Remove redundant code from monitor-ofono 2012-08-07 01:31:12 -05:00
Philippe Nunes 9f3f5bce6f monitor-ofono: Fix to print non-English characters
The default encoding for a Python bytestring is ASCII. But the
SMS/USSD text is encoded in UTF-8.
This is why trying to convert non-English characters (Unicode
characters beyond 128) produces the error
"UnicodeEncodeError: 'ascii' codec can't encode character".
2012-07-27 00:23:52 -05:00
Pekka Pessi 6d0c9d69d6 monitor-ofono: monitor DisconnectReason 2010-11-11 08:51:45 -06:00
Denis Kenzior 8ae0999c9c test: update monitor-ofono with new SMS api 2010-09-21 21:15:07 -05:00
Denis Kenzior ac9e1157ab test: Update monitor-ofono with USSD support 2010-09-15 11:36:26 -05:00
Denis Kenzior ba6db3af42 test: Update to the new Manager api 2010-09-09 14:38:14 -05:00
Denis Kenzior b24439ed7b test: Fix mixing tabs and spaces 2010-09-09 14:05:06 -05:00
Pekka Pessi 3dcdcafd67 test-monitor: monitor irregular signals 2010-08-25 11:39:11 -05:00
Pekka Pessi f24a5d7b18 monitor-ofono: deep pretty-print 2010-08-25 11:39:06 -05:00
Denis Kenzior 0225a8ea10 test: Update to the new netreg API 2010-08-18 21:04:07 -05:00
Marcel Holtmann 236f3acc0f Add support for Features property on modem interface 2010-06-09 20:46:10 -07:00
Marcel Holtmann 3e1855071e Add array decoding for emergency numbers 2010-05-28 10:32:51 +02:00
Denis Kenzior 77693b697d Rename AvailableOperators to Operators 2010-03-25 10:37:46 -05:00
Marcel Holtmann 640d2c95b9 Add some extra pretty decoding to monitor script 2009-11-18 22:37:25 +01:00
Marcel Holtmann e4959e02d1 Mark some properties as integer so they get printed properly 2009-09-08 03:04:51 +02:00
Marcel Holtmann 3d2d259578 Add test script to monitor all PropertyChanged signals 2009-09-02 03:48:46 -07:00