Exemplo n.º 1
0
def test_priority_for_non_existing_item():
    eq_(algorithm._priority([], '1'), None)
Exemplo n.º 2
0
def test_priority_for_existing_item():
    eq_(algorithm._priority([[1, '1']], '1'), 1)