##// END OF EJS Templates
notifications: adjusting tests
lisaq -
r511:02bea3f6 default
parent child Browse files
Show More
@@ -77,7 +77,7 b' class TestChangeSetCommentsController(Te'
77 comment_id = ChangesetComment.query().first().comment_id
77 comment_id = ChangesetComment.query().first().comment_id
78 assert notification.type_ == Notification.TYPE_CHANGESET_COMMENT
78 assert notification.type_ == Notification.TYPE_CHANGESET_COMMENT
79
79
80 sbj = 'commented on commit of {0}'.format(backend.repo_name)
80 sbj = 'commented on a commit of {0}'.format(backend.repo_name)
81 assert sbj in notification.subject
81 assert sbj in notification.subject
82
82
83 lnk = (u'/{0}/changeset/{1}#comment-{2}'.format(
83 lnk = (u'/{0}/changeset/{1}#comment-{2}'.format(
@@ -120,7 +120,7 b' class TestChangeSetCommentsController(Te'
120
120
121 assert comment.revision == commit_id
121 assert comment.revision == commit_id
122
122
123 sbj = 'commented on commit of {0}'.format(backend.repo_name)
123 sbj = ' commented on a commit of {0}'.format(backend.repo_name)
124 assert sbj in notification.subject
124 assert sbj in notification.subject
125
125
126 lnk = (u'/{0}/changeset/{1}#comment-{2}'.format(
126 lnk = (u'/{0}/changeset/{1}#comment-{2}'.format(
General Comments 0
You need to be logged in to leave comments. Login now