summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2013-12-13 17:43:42 +0000
committerMichael Williamson <mike@zwobble.org>2013-12-13 17:43:42 +0000
commit49d046acf05be128d404a419ecde05091efa30c1 (patch)
treed94ea94a5c4d03e4f0e2a0af49d52c861a42f04e /tests
parent52a0281824ebe97f4233066b73a1e9739b639d9d (diff)
Support parsing unordered list document matcher
Diffstat (limited to 'tests')
-rw-r--r--tests/style_reader_tests.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/style_reader_tests.py b/tests/style_reader_tests.py
index b1afdb7..971cfac 100644
--- a/tests/style_reader_tests.py
+++ b/tests/style_reader_tests.py
@@ -88,6 +88,14 @@ class ReadDocumentMatcherTests(object):
@istest
+ def reads_paragraph_unordered_list(self):
+ assert_equal(
+ document_matchers.paragraph(numbering=documents.NumberingLevel(2, is_ordered=False)),
+ read_document_matcher("p:unordered-list(2)")
+ )
+
+
+ @istest
def reads_plain_run(self):
assert_equal(
document_matchers.run(),