Skip to content

Commit

Permalink
Add link to test RT messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Alina Mackenzie committed Nov 15, 2015
1 parent 089cd38 commit a40a0e0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test_requesttracker.py
Expand Up @@ -21,6 +21,7 @@ def test_configuration(self, testbot):
def test_find_ticket(self, testbot):
test_subject = 'err-request-tracker'
test_requestor = 'foo@example.com'
test_text = 'Testing https://github.com/alimac/err-request-tracker'

testbot.push_message('!plugin config RT ' + str(RT_CONFIG))
assert 'Plugin configuration done.' in testbot.pop_message()
Expand All @@ -31,7 +32,8 @@ def test_find_ticket(self, testbot):
try:
ticket_id = tracker.create_ticket(Queue='General',
Subject=test_subject,
Requestors=test_requestor)
Requestors=test_requestor,
Text=test_text)
ticket = tracker.get_ticket(ticket_id)
except Exception as e:
raise Exception("Unable to create a test ticket: " + str(e))
Expand Down

0 comments on commit a40a0e0

Please sign in to comment.