aboutsummaryrefslogtreecommitdiff
path: root/tests/style_reader_tests.py
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2016-07-03 14:15:27 +0100
committerMichael Williamson <mike@zwobble.org>2016-07-03 14:15:27 +0100
commit8059e5f4d09fb14f2109cedb63ae0d353537e6b3 (patch)
treec6eb6869e4bd0bc3d9a84fac0ecd54f17ae34401 /tests/style_reader_tests.py
parentf5563e5a26ebcd51cc73f3cffbd51cff3c4d4ca7 (diff)
Add HTML path for ignoring elements
Diffstat (limited to 'tests/style_reader_tests.py')
-rw-r--r--tests/style_reader_tests.py8
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):