From 57125b9969624688fa68f0bcec0db3885fb02f35 Mon Sep 17 00:00:00 2001 From: Abdessamad Derraz <3028866+Abdess@users.noreply.github.com> Date: Tue, 24 Nov 2026 00:59:07 +0100 Subject: [PATCH] fix: type the class attributes of a site test --- tests/test_site_render.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/test_site_render.py b/tests/test_site_render.py index e58bb5f92..112da12cc 100644 --- a/tests/test_site_render.py +++ b/tests/test_site_render.py @@ -7,6 +7,7 @@ import tests import tempfile import unittest from pathlib import Path +from typing import TYPE_CHECKING from unittest import mock import yaml @@ -16,6 +17,9 @@ from sitegen import render as siterender from sitegen import runlinks from model import systemnames +if TYPE_CHECKING: + from packs.consumers import FileConsumers + REPO_ROOT = Path(__file__).resolve().parents[1] @@ -188,6 +192,9 @@ class DirectoryMembersNameTheirEmulator(unittest.TestCase): emulator on their card, and the directory card linked none of them.""" SHA1 = "c63078a6c9ccaca7339a726a5d39410983933070" + db: dict + profile: dict + consumers: FileConsumers @classmethod def setUpClass(cls) -> None: