Skip to content

[fix] Added handling for no connnection in DeviceConnection.get_working_connection#720

Merged
nemesifier merged 1 commit into
masterfrom
fix-get-working-device-conn
Nov 23, 2022
Merged

[fix] Added handling for no connnection in DeviceConnection.get_working_connection#720
nemesifier merged 1 commit into
masterfrom
fix-get-working-device-conn

Conversation

@pandafy

@pandafy pandafy commented Nov 23, 2022

Copy link
Copy Markdown
Member

DeviceConnection.get_working_connection did not handle the case when no DeviceConnection object is present for a device.

If a device does not have any DeviceConnection, then in the raised NoWorkingDeviceConnectionError exception, the connection attribute will be set to None.

@coveralls

coveralls commented Nov 23, 2022

Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 98.821% when pulling 9d39bf4 on fix-get-working-device-conn into 3d3fefa on master.

…ng_connection

DeviceConnection.get_working_connection did not handle the case
when no DeviceConnection object is present for a device.

If a device does not have any DeviceConnection, then in the raised
NoWorkingDeviceConnectionError exception, the connection attribute
will be set to None.
@pandafy pandafy force-pushed the fix-get-working-device-conn branch from ca00be2 to 9d39bf4 Compare November 23, 2022 11:30
@nemesifier nemesifier merged commit c40a942 into master Nov 23, 2022
@nemesifier nemesifier deleted the fix-get-working-device-conn branch November 23, 2022 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants