From 8603885fda2d934861ca490076d39b874999ff21 Mon Sep 17 00:00:00 2001 From: Abdessamad Derraz <3028866+Abdess@users.noreply.github.com> Date: Sun, 22 Nov 2026 00:41:45 +0100 Subject: [PATCH] fix: type the generate_site source segment --- tests/test_site_inputs.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_site_inputs.py b/tests/test_site_inputs.py index d99134cc6..549cc8880 100644 --- a/tests/test_site_inputs.py +++ b/tests/test_site_inputs.py @@ -163,6 +163,7 @@ class NoPageModuleReadsTheRepositoryInputs(unittest.TestCase): build, next(n for n in ast.parse(build).body if isinstance(n, ast.FunctionDef) and n.name == "generate_site")) + assert source is not None self.assertLess(source.index("siteinputs.use("), source.index("load_database("))