Commit Graph

10 Commits

Author SHA1 Message Date
Szymon Janc
c5a19dde47 test: Allow to pass custom DataType to test-health-sink 2014-07-03 17:51:14 +03:00
Szymon Janc
e6099e4536 test: Fix getting devices in health test scripts 2014-07-03 17:51:14 +03:00
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
Luiz Augusto von Dentz
28eede5b22 health: Append version to Health interfaces 2012-12-14 11:24:24 +02: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
0aa39e839b test: Use ObjectManager instead of Adapters property
Use the objects and interfaces reported by the ObjectManager in order
to list the available adapters.
2012-12-05 16:40:04 +02:00
Gustavo Padovan
8af25d0b1d manager: remove deprecated ListAdapters() method 2012-07-04 15:43:09 +03:00
Gustavo Padovan
5a4951dae6 adapter: remove deprecated ListDevices() method 2012-07-04 15:43:06 +03: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
Jose Antonio Santos Cadenas
529b73edef Update test script and create a new one 2010-10-06 10:37:08 +02:00