diff --git a/tests/fixtures/yandex_transport_bus_reply.json b/tests/components/yandex_transport/fixtures/bus_reply.json similarity index 100% rename from tests/fixtures/yandex_transport_bus_reply.json rename to tests/components/yandex_transport/fixtures/bus_reply.json diff --git a/tests/fixtures/yandex_transport_suburban_reply.json b/tests/components/yandex_transport/fixtures/suburban_reply.json similarity index 100% rename from tests/fixtures/yandex_transport_suburban_reply.json rename to tests/components/yandex_transport/fixtures/suburban_reply.json diff --git a/tests/components/yandex_transport/test_yandex_transport_sensor.py b/tests/components/yandex_transport/test_sensor.py similarity index 95% rename from tests/components/yandex_transport/test_yandex_transport_sensor.py rename to tests/components/yandex_transport/test_sensor.py index deb4fd1f360..d302ce17a26 100644 --- a/tests/components/yandex_transport/test_yandex_transport_sensor.py +++ b/tests/components/yandex_transport/test_sensor.py @@ -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