diff options
| author | Michael Williamson <mike@zwobble.org> | 2016-07-03 14:15:27 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2016-07-03 14:15:27 +0100 |
| commit | 8059e5f4d09fb14f2109cedb63ae0d353537e6b3 (patch) | |
| tree | c6eb6869e4bd0bc3d9a84fac0ecd54f17ae34401 /tests | |
| parent | f5563e5a26ebcd51cc73f3cffbd51cff3c4d4ca7 (diff) | |
Add HTML path for ignoring elements
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 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): |
