aboutsummaryrefslogtreecommitdiff
path: root/tests/docx/body_xml_tests.py
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2018-04-02 09:58:45 +0100
committerMichael Williamson <mike@zwobble.org>2018-04-02 09:58:45 +0100
commit402859fc750a2aa3d84b5e2e4553996e76a50a15 (patch)
tree4c148ca6e13be953778a18ca13434c05d653c9ca /tests/docx/body_xml_tests.py
parenta1a7fa99e4e8eac2f46dcbbca92f081a1b723e05 (diff)
Read the children of v:rect elements
Diffstat (limited to 'tests/docx/body_xml_tests.py')
-rw-r--r--tests/docx/body_xml_tests.py5
1 files changed, 5 insertions, 0 deletions
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, {}, [