"""Test indeterminate selectors."""
from .. import util
class TestIndeterminate(util.TestCase):
"""Test indeterminate selectors."""
def test_indeterminate(self):
"""Test indeterminate."""
markup = """
"""
self.assert_selector(
markup,
":indeterminate",
['checkbox', 'radio1', 'radio6', 'radio4', 'radio5', 'radio-no-name1'],
flags=util.HTML
)
def test_iframe(self):
"""Test indeterminate when `iframe` is involved."""
markup = """
"""
self.assert_selector(
markup,
":indeterminate",
['radio1', 'radio3'],
flags=util.PYHTML
)