Skip to content

Commit

Permalink
Merge pull request #71 from plone/maurits-fix-tests-zope-511
Browse files Browse the repository at this point in the history
Fixed tests when using Zope 5.11.
  • Loading branch information
mauritsvanrees authored Oct 21, 2024
2 parents e8179c2 + c3721a3 commit 8f9b128
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions news/956.tests
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Fixed tests when using Zope 5.11.
In one test we got a `mappingproxy` instead of a dictionary.
[maurits]
2 changes: 1 addition & 1 deletion src/plone/base/tests/messages.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ And at last there is the possibility of variable substitution:
>>> msg.default
'Hello ${name}'

>>> msg.mapping
>>> dict(msg.mapping)
{'name': 'Plone'}

Messages with translation service set up
Expand Down

0 comments on commit 8f9b128

Please sign in to comment.