mirror of
https://github.com/meshcore-dev/meshcore_py.git
synced 2026-04-20 22:13:49 +00:00
Add testing workflow
This commit is contained in:
parent
1674274929
commit
968e42c6c8
2 changed files with 42 additions and 1 deletions
|
|
@ -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):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue