plone.app.discussion/plone/app/discussion
Maurits van Rees 266d87b3b9
Test-only fix: normalize white space when comparing output of comment.getText().
Needed to not fail with newer `plone.outputfilters` from this PR: https://github.com/plone/plone.outputfilters/pull/49
Comments go through the outputfilters, and the new branch calls `soup.prettify()` from `Beautifulsoup`, leading to more white space.
Sample test failures on Jenkins, see https://jenkins.plone.org/job/plip-plip-image-srcsets-3.8/5/#showFailuresLink

```
'<p>\n Go to http://www.plone.org\n</p>' != '<p>Go to http://www.plone.org</p>'
- <p>
-  Go to http://www.plone.org
? ^                          ^
+ <p>Go to http://www.plone.org</p>? ^^^                          ^^^^
- </p>

  File "/srv/python3.8/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
    yield
  File "/srv/python3.8/lib/python3.8/unittest/case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "/srv/python3.8/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
    method()
  File "/home/jenkins/.buildout/eggs/cp38/plone.app.discussion-4.0.0a7-py3.8.egg/plone/app/discussion/tests/test_comment.py", line 180, in test_getText_doesnt_link
    self.assertEqual(
  File "/srv/python3.8/lib/python3.8/unittest/case.py", line 912, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/srv/python3.8/lib/python3.8/unittest/case.py", line 1292, in assertMultiLineEqual
    self.fail(self._formatMessage(msg, standardMsg))
  File "/srv/python3.8/lib/python3.8/unittest/case.py", line 753, in fail
    raise self.failureException(msg)
```
2022-06-10 13:50:16 +02:00
..
browser use plone.base and remove dependencies to CMFPlone 2022-05-02 00:39:34 +02:00
i18n Update Traditional Chinese Translation. 2016-09-10 07:30:47 +00:00
profiles/default Increase metadata version to 2000. 2022-05-10 21:36:50 +02:00
tests Test-only fix: normalize white space when comparing output of comment.getText(). 2022-06-10 13:50:16 +02:00
TODO.txt remove clear-and-rebuild catalog from known issues and todo. 2009-10-15 10:45:35 +00:00
__init__.py find -name "*.py" -exec pyupgrade --py3-only --py37-plus {} + 2022-05-01 23:14:41 +02:00
architecture.txt Whitespace. 2012-01-09 16:31:52 +01:00
catalog.py use plone.base and remove dependencies to CMFPlone 2022-05-02 00:39:34 +02:00
comment.py use plone.base and remove dependencies to CMFPlone 2022-05-02 00:39:34 +02:00
comment.txt Move api documentation to a separate folder. 2012-07-12 15:03:26 +02:00
configure.zcml use plone.base and remove dependencies to CMFPlone 2022-05-02 00:39:34 +02:00
contentrules.py find -name "*.py" -exec pyupgrade --py3-only --py37-plus {} + 2022-05-01 23:14:41 +02:00
contentrules.zcml Changes NotifyOnDelete to CommentDeletedEvent and NotifyOnPublish to CommentPublishedEvent for respect naming of event and interface 2018-10-24 16:49:22 +02:00
conversation.py use plone.base and remove dependencies to CMFPlone 2022-05-02 00:39:34 +02:00
conversation.txt Move api documentation to a separate folder. 2012-07-12 15:03:26 +02:00
design.txt Whitespace. 2012-01-09 16:31:52 +01:00
events.py find -name "*.py" -exec pyupgrade --py3-only --py37-plus {} + 2022-05-01 23:14:41 +02:00
interfaces.py use plone.base and remove dependencies to CMFPlone 2022-05-02 00:39:34 +02:00
notifications.zcml Use plone i18n domain 2015-11-05 00:30:42 +01:00
permissions.zcml #180 Added 'View comments' permission 2022-02-17 16:37:38 +02:00
subscribers.py find -name "*.py" -exec pyupgrade --py3-only --py37-plus {} + 2022-05-01 23:14:41 +02:00
subscribers.zcml use plone.base and remove dependencies to CMFPlone 2022-05-02 00:39:34 +02:00
testing.py find -name "*.py" -exec pyupgrade --py3-only --py37-plus {} + 2022-05-01 23:14:41 +02:00
tool.py find -name "*.py" -exec pyupgrade --py3-only --py37-plus {} + 2022-05-01 23:14:41 +02:00
upgrades.py find -name "*.py" -exec pyupgrade --py3-only --py37-plus {} + 2022-05-01 23:14:41 +02:00
upgrades.zcml Increase metadata version to 2000. 2022-05-10 21:36:50 +02:00
vocabularies.py find -name "*.py" -exec pyupgrade --py3-only --py37-plus {} + 2022-05-01 23:14:41 +02:00