From f5595b78f59d3f3a04c4e83702114dc2704f808a Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sat, 14 Dec 2013 17:25:23 +0000 Subject: Match document matchers with numbering correctly --- tests/style_reader_tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/style_reader_tests.py') 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)") ) -- cgit v1.2.3