def test_check_keeps_checked_if_called_multiple_times(browser, app_url):
    """should keep a checkbox checked if check() is called multiple times"""
    browser.visit(app_url)
    elem = browser.find_by_name("some-check")
    assert not elem.checked
    elem.check()
    elem.check()
    assert elem.checked
should keep a checkbox checked if check() is called multiple times
tests/test_all_drivers/test_form_elements.py