def test_slice():
    """ElementList should work with slice operations."""
    elem_list = ElementList([1, 2, 3, 4, 5])
    new_elem_list = elem_list[2:5]
    assert len(new_elem_list) == 3
ElementList should work with slice operations.
tests/tests_splinter/test_element_list.py