From 61e88321b9e5dc67a0373edc69f8114db8c1d3b7 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sun, 11 May 2014 18:01:31 +0100 Subject: Rename existing concept of style names to style IDs to match docx --- tests/style_reader_tests.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/style_reader_tests.py') diff --git a/tests/style_reader_tests.py b/tests/style_reader_tests.py index 32636db..21b857e 100644 --- a/tests/style_reader_tests.py +++ b/tests/style_reader_tests.py @@ -72,9 +72,9 @@ class ReadDocumentMatcherTests(object): @istest - def reads_paragraph_with_style_name(self): + def reads_paragraph_with_style_id(self): assert_equal( - document_matchers.paragraph(style_name="Heading1"), + document_matchers.paragraph(style_id="Heading1"), read_document_matcher("p.Heading1") ) @@ -104,9 +104,9 @@ class ReadDocumentMatcherTests(object): @istest - def reads_run_with_style_name(self): + def reads_run_with_style_id(self): assert_equal( - document_matchers.run(style_name="Emphasis"), + document_matchers.run(style_id="Emphasis"), read_document_matcher("r.Emphasis") ) -- cgit v1.2.3