aboutsummaryrefslogtreecommitdiff
path: root/tests/style_reader_tests.py
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2013-12-14 17:25:23 +0000
committerMichael Williamson <mike@zwobble.org>2013-12-14 17:25:23 +0000
commitf5595b78f59d3f3a04c4e83702114dc2704f808a (patch)
treebb58b9fc9fc28ac81f7d96f1c48a2cbf9f09968a /tests/style_reader_tests.py
parenta5574fbb4540ca31ab0d4c639f6cd2a633e749fc (diff)
Match document matchers with numbering correctly
Diffstat (limited to 'tests/style_reader_tests.py')
-rw-r--r--tests/style_reader_tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/style_reader_tests.py b/tests/style_reader_tests.py
index 2f852e5..0d266d6 100644
--- a/tests/style_reader_tests.py
+++ b/tests/style_reader_tests.py
@@ -82,7 +82,7 @@ class ReadDocumentMatcherTests(object):
@istest
def reads_paragraph_ordered_list(self):
assert_equal(
- document_matchers.paragraph(numbering=documents.NumberingLevel(2, is_ordered=True)),
+ document_matchers.paragraph(numbering=documents.numbering_level(2, is_ordered=True)),
read_document_matcher("p:ordered-list(2)")
)
@@ -90,7 +90,7 @@ class ReadDocumentMatcherTests(object):
@istest
def reads_paragraph_unordered_list(self):
assert_equal(
- document_matchers.paragraph(numbering=documents.NumberingLevel(2, is_ordered=False)),
+ document_matchers.paragraph(numbering=documents.numbering_level(2, is_ordered=False)),
read_document_matcher("p:unordered-list(2)")
)