def test_priority_for_non_existing_item(): eq_(algorithm._priority([], '1'), None)
def test_priority_for_existing_item(): eq_(algorithm._priority([[1, '1']], '1'), 1)