Skip to content

Commit

Permalink
added case for removed device
Browse files Browse the repository at this point in the history
  • Loading branch information
fcusson committed Nov 25, 2024
1 parent ceabae4 commit cae7d23
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/media_player/device_manager/test_async_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,5 +225,8 @@ async def asyncSetUp(self):

await self.device_manager.async_update()

async def test_device_removed_from_tracked(self):
def test_device_removed_from_tracked(self):
self.assertEqual(len(self.device_manager.tracked_devices), 0)

def test_device_added_to_unavailable_devices(self):
self.assertIn("1234", self.device_manager.unavailable_devices)

0 comments on commit cae7d23

Please sign in to comment.