Test the base result.
(
hacs: HacsBase,
category_test_data: CategoryTestData,
snapshots: SnapshotFixture,
)
| 40 | |
| 41 | @pytest.mark.parametrize("category_test_data", category_test_data_parametrized()) |
| 42 | async def test_basic_functionality_repositories( |
| 43 | hacs: HacsBase, |
| 44 | category_test_data: CategoryTestData, |
| 45 | snapshots: SnapshotFixture, |
| 46 | ): |
| 47 | """Test the base result.""" |
| 48 | result = await hacs.data_client.get_repositories(category_test_data["category"]) |
| 49 | |
| 50 | snapshots.assert_match( |
| 51 | safe_json_dumps(recursive_remove_key(result, ("last_fetched",))), |
| 52 | f"data_client/base/repositories/{category_test_data['category']}.json", |
| 53 | ) |
| 54 | |
| 55 | |
| 56 | @pytest.mark.parametrize( |
nothing calls this directly
no test coverage detected
searching dependent graphs…