diff options
| author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2016-03-07 15:56:31 +0200 |
|---|---|---|
| committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2016-03-07 15:56:31 +0200 |
| commit | 4432ec8b4e177f4ab2456ecae10dff69487d11d9 (patch) | |
| tree | ba6ab014ccc3b9b29289a4b6499da6979d07652c | |
| parent | bf5606953eaccc47cf3166f456573d2c722f15f3 (diff) | |
| download | bluez-4432ec8b4e177f4ab2456ecae10dff69487d11d9.tar.gz | |
test/example-gatt-server: Don't order objects
This tests if the code is actually handling registration with objects out
of order which seems very common practice with ObjectManager
implementation.
| -rwxr-xr-x | test/example-gatt-server | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/example-gatt-server b/test/example-gatt-server index f2ddb2bbd..93cf0687f 100755 --- a/test/example-gatt-server +++ b/test/example-gatt-server @@ -13,7 +13,6 @@ except ImportError: import sys from random import randint -from collections import OrderedDict mainloop = None @@ -59,7 +58,7 @@ class Application(dbus.service.Object): @dbus.service.method(DBUS_OM_IFACE, out_signature='a{oa{sa{sv}}}') def GetManagedObjects(self): - response = OrderedDict() + response = {} print('GetManagedObjects') for service in self.services: |
