From 402859fc750a2aa3d84b5e2e4553996e76a50a15 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Mon, 2 Apr 2018 09:58:45 +0100 Subject: Read the children of v:rect elements --- tests/docx/body_xml_tests.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests') diff --git a/tests/docx/body_xml_tests.py b/tests/docx/body_xml_tests.py index 537f123..b259d59 100644 --- a/tests/docx/body_xml_tests.py +++ b/tests/docx/body_xml_tests.py @@ -722,6 +722,11 @@ def children_of_v_group_are_converted_normally(): _assert_children_are_converted_normally("v:group") +@istest +def children_of_v_rect_are_converted_normally(): + _assert_children_are_converted_normally("v:rect") + + def _assert_children_are_converted_normally(tag_name): element = xml_element("w:p", {}, [ xml_element(tag_name, {}, [ -- cgit v1.2.3