From a5df6b88588469d843365c76e7bc44ac8e84ce65 Mon Sep 17 00:00:00 2001 From: Fabio Bertagna Date: Fri, 6 Dec 2024 10:12:09 +0100 Subject: [PATCH] Update some unit test descriptions --- tests/unit/plugins/module_utils/test_xml_utils.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/unit/plugins/module_utils/test_xml_utils.py b/tests/unit/plugins/module_utils/test_xml_utils.py index e2211629..49c5ff47 100644 --- a/tests/unit/plugins/module_utils/test_xml_utils.py +++ b/tests/unit/plugins/module_utils/test_xml_utils.py @@ -448,6 +448,7 @@ def test_elements_equal_without_children_none_and_1(): def test_elements_equal_with_children(): """ Tests elements_equal function matches recursively equal elements. + Elements having children with the same content should be equal. """ e1 = Element("test") e1c1 = Element("child_1") @@ -468,7 +469,8 @@ def test_elements_equal_with_children(): def test_elements_not_equal_with_children(): """ - Tests elements_equal function checks recursively elements. + Tests elements_equal function checks elements recursively. + Elements having children with different content should not be equal. """ e1 = Element("test") e1c1 = Element("child_1")