test(usage-export): mark redaction test locals Final

This commit is contained in:
jesus 2026-11-03 19:31:23 +00:00
parent e374b32825
commit 901fb30871

View file

@ -680,7 +680,7 @@ async def test_daily_rows_exclusion_without_entity_filter_keeps_null_entity_rows
@pytest.mark.asyncio
async def test_export_redacts_credential_named_values_inside_metadata_objects() -> None:
database = _FakeDatabase(
database: Final = _FakeDatabase(
(
(
{
@ -699,7 +699,7 @@ async def test_export_redacts_credential_named_values_inside_metadata_objects()
)
repository, _ = _repository(database)
rows = [row async for row in repository.export_rows(_scope(), export_type=ExportType.DAILY_WITH_KEYS)]
rows: Final = [row async for row in repository.export_rows(_scope(), export_type=ExportType.DAILY_WITH_KEYS)]
assert rows[0].key_metadata == {
"cost_center": "cc-1",