Exemple #1
0
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
Exemple #2
0
def test_intention_is_function(line):
    intention = Intention(line)
    assert intention.is_function() is True