Skip to content

Commit

Permalink
update log message in the tests not expecting PR comment
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilioPeJu committed Jun 23, 2017
1 parent f8cd1d5 commit 4213ac8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions master/buildbot/test/unit/test_reporter_bitbucketserver.py
Expand Up @@ -252,7 +252,7 @@ def test_reporter_basic(self):
self.setUpLogging()
yield self.cp.buildComplete(("build", 20, "finished"), build)
self.assertLogged(unicode2NativeString(
u'{} sent to {}'.format(UNICODE_BODY, PR_URL)))
u'Comment sent to {}'.format(PR_URL)))

@defer.inlineCallbacks
def test_reporter_basic_without_logging(self):
Expand All @@ -269,7 +269,7 @@ def test_reporter_basic_without_logging(self):
yield self.cp.buildComplete(("build", 20, "finished"), build)

self.assertNotLogged(unicode2NativeString(
u'{} sent to {}'.format(UNICODE_BODY, PR_URL)))
u'Comment sent to {}'.format(PR_URL)))

@defer.inlineCallbacks
def test_reporter_non_unicode(self):
Expand Down

0 comments on commit 4213ac8

Please sign in to comment.