diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2012-11-30 15:05:47 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2012-11-30 15:05:47 +0200 |
commit | ca2f14cd102de637540290a8125069060eac6162 (patch) | |
tree | 361e9dbf9d659c8a6cbf42c1e64a11e256fb9bce /test | |
parent | 21589560a50dfc9015e33c886a9ed3c38c64659e (diff) | |
download | bluez-ca2f14cd102de637540290a8125069060eac6162.tar.gz |
test: Check for correct interface in test-thermometer
Diffstat (limited to 'test')
-rwxr-xr-x | test/test-thermometer | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test-thermometer b/test/test-thermometer index d56a8b2d0..e14a3450a 100755 --- a/test/test-thermometer +++ b/test/test-thermometer @@ -30,6 +30,8 @@ class Watcher(dbus.service.Object): print("Type: ", measure["Type"]) def properties_changed(interface, changed, invalidated): + if interface != "org.bluez.Thermometer": + return for name, value in changed.iteritems(): print("Property %s changed: %s" % (name, str(value))) |