Skip to content

Commit

Permalink
Update test_entity.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mattrayner authored Sep 16, 2024
1 parent f10af4b commit 64fc91f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/test_entity.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,10 +313,14 @@ async def test_pod_point_entity(hass, bypass_get_data):
assert "/api/pod_point/static/uc-03.png" == entity.image
assert True is entity.connected


entity.pod.model.name = "S7-UC-05-ACA"
assert "S7-UC-05-ACA" == entity.model
assert "/api/pod_point/static/uc-05.png" == entity.image

entity.pod.model.name = "S7-1C-05-ACA"
assert "S7-1C-05-ACA" == entity.model
assert "/api/pod_point/static/uc-05.png" == entity.image

entity.pod.model.name = "XX-UP-XX-XX"
assert "/api/pod_point/static/uc.png" == entity.image

Expand Down

0 comments on commit 64fc91f

Please sign in to comment.