diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/style_reader_tests.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/style_reader_tests.py b/tests/style_reader_tests.py index 433b8b3..c04c44b 100644 --- a/tests/style_reader_tests.py +++ b/tests/style_reader_tests.py @@ -69,3 +69,11 @@ class ReadDocumentMatcherTests(object): document_matchers.paragraph(), read_document_matcher("p") ) + + + @istest + def reads_paragraph_with_style_name(self): + assert_equal( + document_matchers.paragraph(style_name="Heading1"), + read_document_matcher("p.Heading1") + ) |
