Update nextbus stop tag to accept strings (#27765)
This commit is contained in:
1 parent
a63e976496
commit
f8712b4d7f
2 files changed
+2
-2
No files matched your search
@@ -113,7 +113,7 @@ async def test_verify_valid_state(
|
||||
"""Verify all attributes are set from a valid response."""
|
||||
await assert_setup_sensor(hass, CONFIG_BASIC)
|
||||
mock_nextbus_predictions.assert_called_once_with(
|
||||
[{"stop_tag": int(VALID_STOP), "route_tag": VALID_ROUTE}], VALID_AGENCY
|
||||
[{"stop_tag": VALID_STOP, "route_tag": VALID_ROUTE}], VALID_AGENCY
|
||||
)
|
||||
|
||||
state = hass.states.get(SENSOR_ID_SHORT)
|
||||
|
||||
Reference in new issue
Block a user