Example #1
0
def test_match_no_project():
    line = "No project"
    projects = match_projects(line)
    assert projects == []
Example #2
0
def test_match_multiple_projects():
    line = "More +than on +project"
    projects = match_projects(line)
    assert projects == ['+than', '+project']
Example #3
0
def test_match_one_project():
    line = "Has one +project"
    projects = match_projects(line)
    assert projects == ['+project']