From 8c7d94784a277f0aba2cbf03172ededa4b655398 Mon Sep 17 00:00:00 2001 From: mercael91 Date: Thu, 19 Nov 2026 16:45:29 +0300 Subject: [PATCH 1/2] Move variables10 solution into solutions/ and test the solutions path Signed-off-by: mercael91 From 0dfab8f0b34e5d9fd1bcbc62d9339c9ff45656e1 Mon Sep 17 00:00:00 2001 From: mercael91 Date: Thu, 19 Nov 2026 16:45:30 +0300 Subject: [PATCH 2/2] Move variables10 solution into solutions/ and test the solutions path Signed-off-by: mercael91 --- tests/test_solutions_materialized.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 tests/test_solutions_materialized.py diff --git a/tests/test_solutions_materialized.py b/tests/test_solutions_materialized.py new file mode 100644 index 0000000..06bdbfd --- /dev/null +++ b/tests/test_solutions_materialized.py @@ -0,0 +1,16 @@ +import importlib.util +from pathlib import Path + + +SOLUTIONS_DIR = Path(__file__).resolve().parent.parent / "solutions" + + +def test_variables10_solution_exists_in_solutions_dir(): + assert (SOLUTIONS_DIR / "variables10.py").is_file() + + +def test_variables10_solution_loads_from_solutions_dir(): + path = SOLUTIONS_DIR / "variables10.py" + spec = importlib.util.spec_from_file_location("solutions.variables10", path) + module = importlib.util.module_from_spec(spec) + spec.loader.exec_module(module)