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