diff --git a/tests/test_commands.py b/tests/test_commands.py index 0ea8601..7b1c4c7 100644 --- a/tests/test_commands.py +++ b/tests/test_commands.py @@ -93,7 +93,7 @@ class ConsoleCommandTestCase(unittest.TestCase): with open(data_dir / "base_accounts.csv") as fp: rows: list[dict[str, str]] = list(csv.DictReader(fp)) - data: dict[dict[str, Any]] \ + data: dict[str, dict[str, Any]] \ = {x["code"]: {"code": x["code"], "title": x["title"], "l10n": {y[5:]: x[y] @@ -167,7 +167,7 @@ class ConsoleCommandTestCase(unittest.TestCase): from accounting.models import Currency with open(data_dir / "currencies.csv") as fp: - data: dict[dict[str, Any]] \ + data: dict[str, dict[str, Any]] \ = {x["code"]: {"code": x["code"], "name": x["name"], "l10n": {y[5:]: x[y]