Test the base result.
(
hacs: HacsBase,
category_test_data: CategoryTestData,
snapshots: SnapshotFixture,
)
| 25 | |
| 26 | @pytest.mark.parametrize("category_test_data", category_test_data_parametrized()) |
| 27 | async def test_basic_functionality_data( |
| 28 | hacs: HacsBase, |
| 29 | category_test_data: CategoryTestData, |
| 30 | snapshots: SnapshotFixture, |
| 31 | ): |
| 32 | """Test the base result.""" |
| 33 | result = await hacs.data_client.get_data(category_test_data["category"], validate=True) |
| 34 | |
| 35 | snapshots.assert_match( |
| 36 | safe_json_dumps(recursive_remove_key(result, ("last_fetched",))), |
| 37 | f"data_client/base/data/{category_test_data['category']}.json", |
| 38 | ) |
| 39 | |
| 40 | |
| 41 | @pytest.mark.parametrize("category_test_data", category_test_data_parametrized()) |
nothing calls this directly
no test coverage detected
searching dependent graphs…