aboutsummaryrefslogtreecommitdiff
path: root/tests/docx/document_matchers.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/docx/document_matchers.py')
-rw-r--r--tests/docx/document_matchers.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/docx/document_matchers.py b/tests/docx/document_matchers.py
index dd2276d..d2e5d5c 100644
--- a/tests/docx/document_matchers.py
+++ b/tests/docx/document_matchers.py
@@ -16,6 +16,8 @@ def create_element_matcher(element_type):
is_paragraph = create_element_matcher(documents.Paragraph)
is_run = create_element_matcher(documents.Run)
is_hyperlink = create_element_matcher(documents.Hyperlink)
+is_table = create_element_matcher(documents.Table)
+is_row = create_element_matcher(documents.TableRow)
is_empty_run = is_run(children=[])