From 45355104a092949ca52ad049e077b39d16b74add Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arne=20K=C3=BCderle?= Date: Wed, 4 Oct 2023 17:06:38 +0200 Subject: [PATCH] Now ignoring the ignored names in all doc subgroups --- tpcp/testing/_algorithm_test_mixin.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tpcp/testing/_algorithm_test_mixin.py b/tpcp/testing/_algorithm_test_mixin.py index d10f342..bca0ec8 100644 --- a/tpcp/testing/_algorithm_test_mixin.py +++ b/tpcp/testing/_algorithm_test_mixin.py @@ -105,7 +105,6 @@ def test_all_parameters_documented(self): documented_names = {p.name for p in docs["Parameters"]} actual_names = set(get_param_names(self.ALGORITHM_CLASS)) - actual_names -= set(self._IGNORED_NAMES) assert documented_names == actual_names @@ -120,6 +119,7 @@ def test_all_attributes_documented(self, after_action_instance): documented_names = {p.name for p in docs["Attributes"]} actual_names = set(get_results(after_action_instance).keys()) + actual_names -= set(self._IGNORED_NAMES) assert documented_names == actual_names @@ -133,6 +133,7 @@ def test_all_other_parameters_documented(self, after_action_instance): documented_names = {p.name for p in docs["Other Parameters"]} actual_names = set(get_action_params(after_action_instance).keys()) + actual_names -= set(self._IGNORED_NAMES) assert documented_names == actual_names