diff --git a/kallithea/tests/models/test_dump_html_mails.ref.html b/kallithea/tests/models/test_dump_html_mails.ref.html --- a/kallithea/tests/models/test_dump_html_mails.ref.html +++ b/kallithea/tests/models/test_dump_html_mails.ref.html @@ -17,7 +17,7 @@ Comment on Changeset "This changeset did Opinionated User (jsmith): -This is the new comment. +This is the new 'comment'. - and here it ends indented. @@ -94,7 +94,7 @@ View Comment: http://comment.org
This is the body of the test message +This is the 'body' of the "test" message - nothing interesting here except indentation.
@@ -728,7 +728,7 @@ Subject: Test Message@@ -897,7 +897,7 @@ Pull request from https://dev.org/repo a Description: -This PR is awesome because it does stuff +This PR is 'awesome' because it does
- + This is the body of the test message
- nothing interesting here except indentation. This is the 'body' of the "test" message
- nothing interesting here except indentation.- please approve indented! @@ -987,7 +987,7 @@ View Pull Request: http://pr.org/7 - +This PR is awesome because it does stuff
- please approve indented!This PR is 'awesome' because it does <stuff>
- please approve indented!@@ -1072,7 +1072,7 @@ Pull request from https://dev.org/repo a Description: -This PR is awesome because it does stuff +This PR is 'awesome' because it does - please approve indented! @@ -1162,7 +1162,7 @@ View Pull Request: http://pr.org/7 - +This PR is awesome because it does stuff
- please approve indented!This PR is 'awesome' because it does <stuff>
- please approve indented!diff --git a/kallithea/tests/models/test_notifications.py b/kallithea/tests/models/test_notifications.py --- a/kallithea/tests/models/test_notifications.py +++ b/kallithea/tests/models/test_notifications.py @@ -209,7 +209,7 @@ class TestNotifications(TestController): for type_, body, kwargs in [ (Notification.TYPE_CHANGESET_COMMENT, - u'This is the new comment.\n\n - and here it ends indented.', + u'This is the new \'comment\'.\n\n - and here it ends indented.', dict( short_id='cafe1234', raw_id='cafe1234c0ffeecafe', @@ -224,7 +224,7 @@ class TestNotifications(TestController): cs_url='http://changeset.com', cs_author=User.get(self.u2))), (Notification.TYPE_MESSAGE, - u'This is the body of the test message\n - nothing interesting here except indentation.', + u'This is the \'body\' of the "test" message\n - nothing interesting here except indentation.', dict()), #(Notification.TYPE_MENTION, '$body', None), # not used (Notification.TYPE_REGISTRATION, @@ -235,7 +235,7 @@ class TestNotifications(TestController): new_email='new@email.com', new_full_name='New Full Name')), (Notification.TYPE_PULL_REQUEST, - u'This PR is awesome because it does stuff\n - please approve indented!', + u'This PR is \'awesome\' because it does \n - please approve indented!', dict( pr_user_created='Requesting User (root)', # pr_owner should perhaps be used for @mention in description ... is_mention=[False, True],