A couple of improvements could be made to MockBlueDot.
mock_client_sending_data should raise an error if the mock client is not connected
MockBluetoothAdapter - should inherit from BluetoothAdapter then allow_pairing could also be inherited
The mock app - could either inherit from the Blue Dot Python app, allowing reuse, or it could be refactored to use tkinter meaning pygame isnt a requirement.
A couple of improvements could be made to MockBlueDot.
mock_client_sending_data
should raise an error if the mock client is not connectedMockBluetoothAdapter
- should inherit from BluetoothAdapter then allow_pairing could also be inherited The mock app - could either inherit from the Blue Dot Python app, allowing reuse, or it could be refactored to use tkinter meaning pygame isnt a requirement.