Skip to content

Commit

Permalink
[fc] Repository: Products.CMFPlone
Browse files Browse the repository at this point in the history
Branch: refs/heads/master
Date: 2022-03-16T09:25:47+01:00
Author: Maurits van Rees (mauritsvanrees) <maurits@vanrees.org>
Commit: plone/Products.CMFPlone@3061816

Fixed tests when run with zope.component 5+.

See plone/plone.app.users#107

Files changed:
A news/500.bugfix
M Products/CMFPlone/tests/testSecurity.py
  • Loading branch information
mauritsvanrees committed Mar 16, 2022
1 parent d3215a1 commit b20b70f
Showing 1 changed file with 10 additions and 39 deletions.
49 changes: 10 additions & 39 deletions last_commit.txt
Original file line number Diff line number Diff line change
@@ -1,47 +1,18 @@
Repository: documentation
Repository: Products.CMFPlone


Branch: refs/heads/6-dev
Date: 2022-03-15T19:42:16+01:00
Author: Victor Fernandez de Alba (sneridagh) <sneridagh@gmail.com>
Commit: https://github.com/plone/documentation/commit/2d6255ba9e12809dc35fbb5c0d0fe6d84437e0e7
Branch: refs/heads/master
Date: 2022-03-16T09:25:47+01:00
Author: Maurits van Rees (mauritsvanrees) <maurits@vanrees.org>
Commit: https://github.com/plone/Products.CMFPlone/commit/3061816dce48b25a75c7f77af764541508847ee5

Update Volto master tip to include the correct link to storybook
Fixed tests when run with zope.component 5+.

Files changed:
M submodules/volto

b'diff --git a/submodules/volto b/submodules/volto\nindex 983f5f07..e0404178 160000\n--- a/submodules/volto\n+++ b/submodules/volto\n@@ -1 +1 @@\n-Subproject commit 983f5f07a263c133e03bb0d593bb793091af07a4\n+Subproject commit e0404178199964b6a9eb5b345c8f7fcb378a0823\n'

Repository: documentation


Branch: refs/heads/6-dev
Date: 2022-03-15T19:57:54+01:00
Author: Victor Fernandez de Alba (sneridagh) <sneridagh@gmail.com>
Commit: https://github.com/plone/documentation/commit/9947f427ae80955e141d2f00cd07204bad879917

Update tip again

Files changed:
M submodules/volto

b'diff --git a/submodules/volto b/submodules/volto\nindex e0404178..3bbc3197 160000\n--- a/submodules/volto\n+++ b/submodules/volto\n@@ -1 +1 @@\n-Subproject commit e0404178199964b6a9eb5b345c8f7fcb378a0823\n+Subproject commit 3bbc31974d90c943e7471ead14a8e654c18dc45c\n'

Repository: documentation


Branch: refs/heads/6-dev
Date: 2022-03-15T20:17:49+01:00
Author: Víctor Fernández de Alba (sneridagh) <sneridagh@gmail.com>
Commit: https://github.com/plone/documentation/commit/6d5c46f70d19d8114eeb9b131c9d5cb82a2fb5f5

Merge pull request #1200 from plone/updatestyleguidelink

Update Volto master tip to include the correct link to storybook
See https://github.com/plone/plone.app.users/pull/107

Files changed:
M submodules/volto
A news/500.bugfix
M Products/CMFPlone/tests/testSecurity.py

b'diff --git a/submodules/volto b/submodules/volto\nindex 983f5f07..3bbc3197 160000\n--- a/submodules/volto\n+++ b/submodules/volto\n@@ -1 +1 @@\n-Subproject commit 983f5f07a263c133e03bb0d593bb793091af07a4\n+Subproject commit 3bbc31974d90c943e7471ead14a8e654c18dc45c\n'
b'diff --git a/Products/CMFPlone/tests/testSecurity.py b/Products/CMFPlone/tests/testSecurity.py\nindex ee2fa5c467..5286d8ee2a 100644\n--- a/Products/CMFPlone/tests/testSecurity.py\n+++ b/Products/CMFPlone/tests/testSecurity.py\n@@ -159,7 +159,8 @@ def get_admin_browser(self):\n return browser\n \n def test_plonetool(self):\n- base_url = self.layer["portal"].absolute_url() + "/plone_utils"\n+ portal_url = self.layer["portal"].absolute_url()\n+ base_url = portal_url + "/plone_utils"\n browser = self.get_admin_browser()\n method_names = (\n "addPortalMessage",\n@@ -173,6 +174,9 @@ def test_plonetool(self):\n "normalizeString",\n "getEmptyTitle",\n )\n+ # First open a url that actually works.\n+ # This avoids an error with zope.component 5+.\n+ browser.open(portal_url)\n for method_name in method_names:\n with self.assertRaises(NotFound):\n browser.open(base_url + "/" + method_name)\n@@ -226,6 +230,9 @@ def test_hotfix_20160419(self):\n "propertyLabel",\n "propertyDescription",\n )\n+ # First open a url that actually works.\n+ # This avoids an error with zope.component 5+.\n+ browser.open(portal_url)\n for method_name in method_names:\n with self.assertRaises(NotFound):\n browser.open(portal_url + "/" + method_name)\ndiff --git a/news/500.bugfix b/news/500.bugfix\nnew file mode 100644\nindex 0000000000..c9f39b6b50\n--- /dev/null\n+++ b/news/500.bugfix\n@@ -0,0 +1,2 @@\n+Fixed tests when run with ``zope.component`` 5+.\n+[maurits]\n'

0 comments on commit b20b70f

Please sign in to comment.