1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
|
From: Roland Mas <roland.mas@entierement.net>
Date: Tue, 9 Dec 2025 13:46:18 +0100
Subject: Disable two tests that require installed docs
---
sigima/tests/common/examples_unit_test.py | 1 +
sigima/tests/common/validation_unit_test.py | 2 ++
2 files changed, 3 insertions(+)
diff --git a/sigima/tests/common/examples_unit_test.py b/sigima/tests/common/examples_unit_test.py
index 669bd11..5d2b913 100644
--- a/sigima/tests/common/examples_unit_test.py
+++ b/sigima/tests/common/examples_unit_test.py
@@ -45,6 +45,7 @@ def get_example_files() -> list[Path]:
]
+@pytest.mark.skip(reason="Doc not installed")
def test_examples_directory_exists() -> None:
"""Test that the examples directory exists and contains Python files."""
examples_dir = get_example_dir()
diff --git a/sigima/tests/common/validation_unit_test.py b/sigima/tests/common/validation_unit_test.py
index 6448c59..7a4c2c1 100644
--- a/sigima/tests/common/validation_unit_test.py
+++ b/sigima/tests/common/validation_unit_test.py
@@ -7,6 +7,7 @@ Testing validation test introspection and CSV generation.
import inspect
import os.path as osp
import re
+import pytest
import sigima.tests as tests_pkg
from sigima.proc.decorator import find_computation_functions
@@ -145,6 +146,7 @@ def test_validation_decorator_only_on_computation_functions() -> None:
raise AssertionError("\n".join(error_messages))
+@pytest.mark.skip(reason="Doc not installed")
def test_computation_functions_documented_in_features() -> None:
"""Test that all computation functions are documented in doc/features.rst.
|