From 9b7e3de3ed2ceeb507dc24f47a7ebb920f34e584 Mon Sep 17 00:00:00 2001 From: Jake Ob Date: Sun, 16 Apr 2023 20:52:29 +0300 Subject: [PATCH] Fix broken unit tests for the bluetoothctl parser --- tests/test_bluetoothctl.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_bluetoothctl.py b/tests/test_bluetoothctl.py index 6e62d141..2cf1d09f 100644 --- a/tests/test_bluetoothctl.py +++ b/tests/test_bluetoothctl.py @@ -173,15 +173,15 @@ class BluetoothctlTests(unittest.TestCase): "Headset (00001108-0000-1000-8000-00805f9b34fb)", "Headset HS (00001131-0000-1000-8000-00805f9b34fb)" ], - "rssi": "-52", - "txpower": "4" + "rssi": -52, + "txpower": 4 } if actual: for k, v in expected.items(): self.assertEqual(v, actual[0][k], f"Device regex failed on {k}") - def test_bluetoothctl_devicess(self): + def test_bluetoothctl_devices(self): """ Test 'bluetoothctl' with devices """