Skip to content

Commit

Permalink
Add Dummy issue tracker. Fixes kiwitcms#289
Browse files Browse the repository at this point in the history
  • Loading branch information
asankov committed Mar 7, 2019
1 parent b72b739 commit 5429023
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tcms/issuetracker/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,3 +378,14 @@ def report_issue_from_testcase(self, caserun):
url += '/'

return url + '/issues/new?' + urlencode(args, True)


class Dummy(IssueTrackerType):
"""
Dummy Issue Tracker, for when your issue tracker is not one of the supported ones.
Because of this, no API related functionallities are available
"""

def is_adding_testcase_to_issue_disabled(self):
return True

0 comments on commit 5429023

Please sign in to comment.