def test_issue_branch(): issue = Issue('the_id', 'the_title', tag='the_tag') eq_(issue.branch(), 'the_tag-the_id-the_title')