def test_raise_attribute_error():
    """
    should raise AttributeError when trying to access
    a non-existent method on list and element
    """
    with pytest.raises(AttributeError):
        the_list = ElementList([Person(), Person()])
        the_list.talk()

    should raise AttributeError when trying to access
    a non-existent method on list and element
    
tests/tests_splinter/test_element_list.py