timing and test fixes

This commit is contained in:
Alex Wolden 2025-08-05 23:05:19 -07:00
parent 1ead55b5b5
commit 43e2cfc724
5 changed files with 5 additions and 8 deletions

View file

@ -44,6 +44,7 @@ class TestBLEConnection(unittest.TestCase):
asyncio.run(ble_conn.send(data_to_send))
# Assert
assert(isinstance(ble_conn.rx_char, MagicMock))
ble_conn.rx_char.write_gatt_char.assert_called_once_with(ble_conn.rx_char, data_to_send, response=True)
def _get_mock_bleak_client(self):