Add testing workflow

This commit is contained in:
Alex Wolden 2025-08-05 13:21:20 -07:00
parent 1674274929
commit 968e42c6c8
2 changed files with 42 additions and 1 deletions

View file

@ -44,7 +44,7 @@ class TestBLEConnection(unittest.TestCase):
asyncio.run(ble_conn.send(data_to_send))
# Assert
ble_conn.rx_char.write_gatt_char.assert_called_once_with(ble_conn.rx_char, data_to_send, response=False)
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):
"""