Exemplo n.º 1
0
def test_passing_a_slice_through_getitem():
    query = Query("one=eins&two=zwei&three=drei&four=vier&five=fünf")
    bits = query.__getitem__(slice(1, 3))
    assert bits.string == "two=zwei&three=drei"