"""Test future selectors."""
from .. import util
class TestFuture(util.TestCase):
"""Test future selectors."""
MARKUP = """
"""
def test_future(self):
"""Test future (should match nothing)."""
self.assert_selector(
self.MARKUP,
"p:future",
[],
flags=util.HTML
)
def test_not_future(self):
"""Test not future."""
self.assert_selector(
self.MARKUP,
"p:not(:future)",
["0"],
flags=util.HTML
)