Move yandex transport fixture to integration test (#112988)

* Move yandex transport fixture to integration test

* Update tests/components/yandex_transport/test_sensor.py

* Ran ruff

---------

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Franck Nijhof <git@frenck.dev>
pull/113054/head
Joost Lekkerkerker 2024-03-11 11:28:30 +01:00 committed by GitHub
parent 1fa0ce2f2c
commit 2349ce1abd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 2 deletions

View File

@ -13,8 +13,10 @@ import homeassistant.util.dt as dt_util
from tests.common import assert_setup_component, load_fixture
BUS_REPLY = json.loads(load_fixture("yandex_transport_bus_reply.json"))
SUBURBAN_TRAIN_REPLY = json.loads(load_fixture("yandex_transport_suburban_reply.json"))
BUS_REPLY = json.loads(load_fixture("bus_reply.json", "yandex_transport"))
SUBURBAN_TRAIN_REPLY = json.loads(
load_fixture("suburban_reply.json", "yandex_transport")
)
@pytest.fixture