# HG changeset patch # User lisaq # Date 2016-07-28 13:18:17 # Node ID 02bea3f6375f1b6c05fb0d528900a75f5a6a380b # Parent 303d31a15ec7b5186d19b179882063668af4bdad notifications: adjusting tests diff --git a/rhodecode/tests/functional/test_changeset_comments.py b/rhodecode/tests/functional/test_changeset_comments.py --- a/rhodecode/tests/functional/test_changeset_comments.py +++ b/rhodecode/tests/functional/test_changeset_comments.py @@ -77,7 +77,7 @@ class TestChangeSetCommentsController(Te comment_id = ChangesetComment.query().first().comment_id assert notification.type_ == Notification.TYPE_CHANGESET_COMMENT - sbj = 'commented on commit of {0}'.format(backend.repo_name) + sbj = 'commented on a commit of {0}'.format(backend.repo_name) assert sbj in notification.subject lnk = (u'/{0}/changeset/{1}#comment-{2}'.format( @@ -120,7 +120,7 @@ class TestChangeSetCommentsController(Te assert comment.revision == commit_id - sbj = 'commented on commit of {0}'.format(backend.repo_name) + sbj = ' commented on a commit of {0}'.format(backend.repo_name) assert sbj in notification.subject lnk = (u'/{0}/changeset/{1}#comment-{2}'.format(