def test_get_changeset_comment_inline_with_revision(self): body = get_body(CHANGESET_MSG_INLINE_WITH_REVISION) actual = get_changeset_comment(body) self.assertEqual('cloud config changes', actual)
def test_get_changeset_comment_inline_with_revision_affected_file(self): body = get_body(CHANGESET_MSG_INLINE_WITH_REVISION_AND_AFFECTED_FILE) actual = get_changeset_comment(body) self.assertEqual('cloud config changes', actual)
def test_get_changeset_comment_from_individual_line(self): body = get_body(CHANGESET_MSG_ON_INDIVIDUAL_LINE) actual = get_changeset_comment(body) self.assertEqual('cloud config changes', actual)