From 2c9955f0590d93968b4959e3622d01610e398700 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sat, 15 Aug 2015 18:11:46 +0100 Subject: Continue with warning style mapping cannot be parsed --- tests/style_reader_tests.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests/style_reader_tests.py') diff --git a/tests/style_reader_tests.py b/tests/style_reader_tests.py index 52d66fd..776e2dc 100644 --- a/tests/style_reader_tests.py +++ b/tests/style_reader_tests.py @@ -151,7 +151,9 @@ class ReadDocumentMatcherTests(object): @istest def document_matcher_is_mapped_to_html_path_using_fat_arrow(): + style_result = read_style("p => h1") assert_equal( styles.style(document_matchers.paragraph(), html_paths.path([html_paths.element(["h1"])])), - read_style("p => h1") + style_result.value ) + assert_equal([], style_result.messages) -- cgit v1.2.3