Parent: d715a2ee3ccf4b9f915b16cb138bfdabe4858581
Author: Petri Gynther <pgynther@google.com>
Committer: Marcel Holtmann <marcel@holtmann.org>
Date: 2014-01-18 10:38:39
Tree: e31bb33a1ccf5460c74ce7fb48bc7c03a04401d0
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
Diffstat
| M | test/ftp-client | | | 12 | +++++++- - - - - |
| M | test/map-client | | | 15 | ++++++++- - - - - - - |
| M | test/monitor-bluetooth | | | 8 | +++++- - - |
| M | test/opp-client | | | 11 | +++++++- - - - |
| M | test/pbap-client | | | 10 | ++++++- - - - |
| M | test/simple-agent | | | 8 | +++++- - - |
| M | test/simple-endpoint | | | 7 | +++++- - |
| M | test/simple-obex-agent | | | 8 | +++++- - - |
| M | test/simple-player | | | 10 | +++++++- - - |
| M | test/test-adapter | | | 4 | ++- - |
| M | test/test-alert | | | 15 | ++++++++++- - - - - |
| M | test/test-cyclingspeed | | | 10 | ++++++- - - - |
| M | test/test-device | | | 10 | ++++++- - - - |
| M | test/test-discovery | | | 8 | +++++- - - |
| M | test/test-health | | | 11 | +++++++- - - - |
| M | test/test-health-sink | | | 9 | ++++++- - - |
| M | test/test-heartrate | | | 10 | ++++++- - - - |
| M | test/test-hfp | | | 12 | +++++++- - - - - |
| M | test/test-manager | | | 6 | ++++- - |
| M | test/test-nap | | | 2 | +- |
| M | test/test-network | | | 2 | +- |
| M | test/test-profile | | | 8 | +++++- - - |
| M | test/test-proximity | | | 10 | ++++++- - - - |
| M | test/test-thermometer | | | 10 | ++++++- - - - |
24 files changed, 133 insertions(+), 83 deletions(-)