Source code for tcms.issuetracker.redmine_integration

# -*- coding: utf-8 -*-
"""
    Helper which facilitate actual communications with Redmine.
"""
from tcms.issuetracker.base import IntegrationThread


[docs]class RedmineThread(IntegrationThread): """ Execute Redmine REST API code in a thread! Executed from the IssueTracker interface methods. """
[docs] def post_comment(self): self.rpc.issue.get(self.bug_id).save(notes=self.text())