Commit Graph

12 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
Johan Hedberg
98b4797764 health: Use lower-case strings for enum values (for consistency) 2012-12-21 00:18:18 +02: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
Lucas De Marchi
fcb426c76a Fix common misspelled words
Accounting of misspelled words, as detected by codespell:

acording      2
ancilliary    1
appropiate    1
atribute      1
cant          1
comming       2
gracefull     1
lenght        1
mispelled     1
occured       1
occurences    1
ocurred       3
prefered      1
presense      1
reponse       1
seperate      1
succesful     1
successully   1
sucessfull    1
sucessfully   1
2011-07-03 14:36:14 +03:00
Jose Antonio Santos Cadenas
111d412316 Modify test-health script to make it more interactive 2010-10-21 09:44:02 +02:00
Jose Antonio Santos Cadenas
529b73edef Update test script and create a new one 2010-10-06 10:37:08 +02:00
Santiago Carot-Nemesio
ea3e77c8a0 Add simple test for health plugin 2010-09-17 16:35:04 +02:00