treefmt v2.5.0traversed 199 files emitted 114 files for processing formatted 114 files (1 changed) in 4.596s M packages/harvest-invoicer/tests/test_i18n.py diff --git a/packages/harvest-invoicer/tests/test_i18n.py b/packages/harvest-invoicer/tests/test_i18n.py index 1e106ef..e93ce6e 100644 --- a/packages/harvest-invoicer/tests/test_i18n.py +++ b/packages/harvest-invoicer/tests/test_i18n.py @@ -121,7 +121,9 @@ def test_html_lang_attribute_matches_invoice_language() -> None: def test_tax_id_label_map_localizes_per_language() -> None: """A per-language tax_id_label map picks the entry for the invoice language.""" label_map = {"es": "Identificador fiscal", "en": "Tax reference"} - es = render_html(_invoice(), _issuer(), _client(language="es", tax_id_label=label_map)) + es = render_html( + _invoice(), _issuer(), _client(language="es", tax_id_label=label_map) + ) assert "Identificador fiscal" in es assert "Tax reference" not in es # The Spanish override must NOT leak into an English invoice.