From 8059e5f4d09fb14f2109cedb63ae0d353537e6b3 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sun, 3 Jul 2016 14:15:27 +0100 Subject: Add HTML path for ignoring elements --- tests/style_reader_tests.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'tests/style_reader_tests.py') diff --git a/tests/style_reader_tests.py b/tests/style_reader_tests.py index fddc75b..61bc911 100644 --- a/tests/style_reader_tests.py +++ b/tests/style_reader_tests.py @@ -68,6 +68,14 @@ class ReadHtmlPathTests(object): read_html_path("p:fresh") ) + + @istest + def can_read_ignore_element(self): + assert_equal( + html_paths.ignore, + read_html_path("!") + ) + @istest class ReadDocumentMatcherTests(object): -- cgit v1.2.3