mirror of
https://github.com/home-assistant/core.git
synced 2025-07-24 13:47:35 +00:00
Move wsdot fixture to integration test (#112996)
This commit is contained in:
parent
d531b6e9b7
commit
65e1502b50
@ -50,7 +50,7 @@ async def test_setup(hass: HomeAssistant, requests_mock: requests_mock.Mocker) -
|
||||
entities.append(entity)
|
||||
|
||||
uri = re.compile(RESOURCE + "*")
|
||||
requests_mock.get(uri, text=load_fixture("wsdot.json"))
|
||||
requests_mock.get(uri, text=load_fixture("wsdot/wsdot.json"))
|
||||
wsdot.setup_platform(hass, config, add_entities)
|
||||
assert len(entities) == 1
|
||||
sensor = entities[0]
|
||||
|
Loading…
x
Reference in New Issue
Block a user