diff options
author | Bastien Nocera <hadess@hadess.net> | 2022-01-05 13:48:49 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2022-01-06 11:11:22 +0100 |
commit | b8a82fd03f717b2a7d6aeb10a597c1147f69dfbb (patch) | |
tree | dc7a75662727446f12c1d741828d84e463370866 /tests | |
parent | cc2f7a6f31f689bf12bd0f7d5e6a89feb4efb314 (diff) | |
download | gnome-bluetooth-b8a82fd03f717b2a7d6aeb10a597c1147f69dfbb.tar.gz |
lib: Use highest numbered adapter as the default one
This makes sure that whether, say, hci1 is plugged in before starting
the programme using gnome-bluetooth, or after it's been started, the
default adapter will still be hci1.
The old behaviour could have caused discrepancies in what gnome-shell
(long-running) and gnome-control-center saw as the default adapter.
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/integration-test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/integration-test b/tests/integration-test index c6798ef5..7627540f 100755 --- a/tests/integration-test +++ b/tests/integration-test @@ -235,7 +235,7 @@ class OopTests(dbusmock.DBusTestCase): self.assertEqual(list_store.get_n_items(), 1) device = list_store.get_item(0) self.assertIsNotNone(device) - self.assertEqual(device.props.name, 'Device on hci0') + self.assertEqual(device.props.name, 'Device on hci1') def test_default_adapter_powered(self): bus = dbus.SystemBus() |