def test_intentions_is_function_not(line): """ Ensures these patterns are not recognized as function start. """ intention = Intention(line) assert intention.is_function() is None
def test_intention_is_function(line): intention = Intention(line) assert intention.is_function() is True