def test_can_select_an_option_in_an_optgroup(browser, app_url):
    "should provide a way to select an option that is in an optgroup"
    browser.visit(app_url)
    assert browser.find_by_name("food").value == "apples"
    browser.select("food", "grapes")
    assert browser.find_by_name("food").value == "grapes"
should provide a way to select an option that is in an optgroup
tests/test_all_drivers/test_form_elements.py