Fix TSCM Bluetooth scanner function signature mismatch

The unified get_tscm_bluetooth_snapshot() no longer accepts a bt_interface
parameter as it handles interface selection internally.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Smittix
2026-01-21 20:36:28 +00:00
parent 588556c2a6
commit a1f8377dd4
2 changed files with 3 additions and 3 deletions

View File

@@ -346,7 +346,7 @@ class TestTSCMIntegration:
mock_scanner.get_devices.return_value = [sample_device]
with patch('routes.bluetooth_v2.get_bluetooth_scanner', return_value=mock_scanner):
devices = get_tscm_bluetooth_snapshot('hci0', duration=8)
devices = get_tscm_bluetooth_snapshot(duration=8)
assert len(devices) == 1
device = devices[0]
@@ -361,7 +361,7 @@ class TestTSCMIntegration:
mock_scanner.get_devices.return_value = []
with patch('routes.bluetooth_v2.get_bluetooth_scanner', return_value=mock_scanner):
devices = get_tscm_bluetooth_snapshot('hci0')
devices = get_tscm_bluetooth_snapshot()
assert devices == []