Commit Graph

7 Commits

Author SHA1 Message Date
Petri Gynther
7adf8d09b4 test: Python import cleanup
Some test scripts use "from gi.repository import GObject" whereas others
use "import gobject". gi.repository is not always available on embedded
systems, so convert all instances to this format:

try:
  from gi.repository import GObject
except ImportError:
  import gobject as GObject

Also, sort the imports in this order: system, dbus, gobject, bluezutils
2014-01-18 00:38:39 -08:00
Mikel Astiz
a163324e1a dbus: Rename to org.bluez.Adapter1
Trivially add the numbering suffix to org.bluez.Adapter according to
the proposal for BlueZ 5.
2012-12-05 16:41:33 +02:00
Mikel Astiz
88b483b154 dbus: Rename to org.bluez.Device1
Trivially add the numbering suffix to org.bluez.Device according to
the proposal for BlueZ 5.
2012-12-05 16:41:30 +02:00
Mikel Astiz
05eb08872a test: Update monitor script to ObjectManager
Make the script compatible with the new API provided by the
ObjectManager and Properties interfaces.
2012-12-05 16:39:46 +02:00
Steve Langasek
ee56337e41 Update tests to be compatible with gi and python3
This patch makes the python tests source-compatible with python 3, while
leaving the interpreter at python 2 for now.

The tradeoff is that this source is no longer compatible with python
versions < 2.6, and requires gobject-introspection for the glib-based
tests.
2012-06-15 12:32:50 +03:00
Marcel Holtmann
c1c058b689 Add more signal handling to monitor script 2008-12-20 10:35:50 +01:00
Marcel Holtmann
567d649420 Add script to monitor PropertyChanged signals 2008-12-16 03:06:48 +01:00