-
-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fc] Repository: plone.app.customerize
Branch: refs/heads/master Date: 2025-01-20T18:17:08+01:00 Author: Maurits van Rees (mauritsvanrees) <maurits@vanrees.org> Commit: plone/plone.app.customerize@469e0fb Fix DeprecationWarnings. Files changed: A news/4090.bugfix M plone/app/customerize/tests/testBrowserLayers.txt M plone/app/customerize/tests/testCustomizeView.txt Repository: plone.app.customerize Branch: refs/heads/master Date: 2025-01-21T15:51:37+01:00 Author: Gil Forcada Codinachs (gforcada) <gil.gnome@gmail.com> Commit: plone/plone.app.customerize@8cdccc6 Merge pull request #38 from plone/maurits-warnings Fix DeprecationWarnings. Files changed: A news/4090.bugfix M plone/app/customerize/tests/testBrowserLayers.txt M plone/app/customerize/tests/testCustomizeView.txt
- Loading branch information
Showing
1 changed file
with
13 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,36 @@ | ||
Repository: plone.app.lockingbehavior | ||
Repository: plone.app.customerize | ||
|
||
|
||
Branch: refs/heads/master | ||
Date: 2025-01-20T18:24:02+01:00 | ||
Date: 2025-01-20T18:17:08+01:00 | ||
Author: Maurits van Rees (mauritsvanrees) <maurits@vanrees.org> | ||
Commit: https://github.com/plone/plone.app.lockingbehavior/commit/468c296c7c6ee9dcca1a68b8158a45d2f83b7920 | ||
Commit: https://github.com/plone/plone.app.customerize/commit/469e0fbb329b9be0dea0042bc7c184d346c15b47 | ||
|
||
Fix DeprecationWarnings. | ||
|
||
Files changed: | ||
A news/4090.bugfix | ||
M plone/app/lockingbehavior/tests/test_locking.py | ||
M plone/app/customerize/tests/testBrowserLayers.txt | ||
M plone/app/customerize/tests/testCustomizeView.txt | ||
|
||
b'diff --git a/news/4090.bugfix b/news/4090.bugfix\nnew file mode 100644\nindex 0000000..8528aef\n--- /dev/null\n+++ b/news/4090.bugfix\n@@ -0,0 +1 @@\n+Fix DeprecationWarnings. [maurits]\ndiff --git a/plone/app/lockingbehavior/tests/test_locking.py b/plone/app/lockingbehavior/tests/test_locking.py\nindex 9773067..c501fa4 100644\n--- a/plone/app/lockingbehavior/tests/test_locking.py\n+++ b/plone/app/lockingbehavior/tests/test_locking.py\n@@ -6,7 +6,7 @@\n from plone.app.testing import TEST_USER_NAME\n from plone.app.testing import TEST_USER_PASSWORD\n from plone.dexterity.fti import DexterityFTI\n-from plone.testing import z2\n+from plone.testing import zope\n \n import transaction\n import unittest\n@@ -28,7 +28,7 @@ def setUp(self):\n transaction.commit()\n \n # prepare two browsers\n- self.foo_browser = z2.Browser(self.layer["app"])\n+ self.foo_browser = zope.Browser(self.layer["app"])\n self.foo_browser.addHeader(\n "Authorization",\n "Basic %s:%s"\n@@ -39,7 +39,7 @@ def setUp(self):\n )\n self.foo_browser.open("http://nohost/plone")\n \n- self.bar_browser = z2.Browser(self.layer["app"])\n+ self.bar_browser = zope.Browser(self.layer["app"])\n self.bar_browser.addHeader(\n "Authorization",\n "Basic %s:%s"\n' | ||
b"diff --git a/news/4090.bugfix b/news/4090.bugfix\nnew file mode 100644\nindex 0000000..8528aef\n--- /dev/null\n+++ b/news/4090.bugfix\n@@ -0,0 +1 @@\n+Fix DeprecationWarnings. [maurits]\ndiff --git a/plone/app/customerize/tests/testBrowserLayers.txt b/plone/app/customerize/tests/testBrowserLayers.txt\nindex 8277a56..cb6c99e 100644\n--- a/plone/app/customerize/tests/testBrowserLayers.txt\n+++ b/plone/app/customerize/tests/testBrowserLayers.txt\n@@ -15,7 +15,7 @@ product is installed, we cannot view the view, though:\n >>> from plone.app.testing import SITE_OWNER_NAME, SITE_OWNER_PASSWORD\n >>> portal = layer['portal']\n \n- >>> from plone.testing.z2 import Browser\n+ >>> from plone.testing.zope import Browser\n >>> browser = Browser(layer['app'])\n >>> browser.handleErrors = False\n >>> browser.addHeader('Authorization', 'Basic %s:%s' % (\ndiff --git a/plone/app/customerize/tests/testCustomizeView.txt b/plone/app/customerize/tests/testCustomizeView.txt\nindex 660f78f..059a048 100644\n--- a/plone/app/customerize/tests/testCustomizeView.txt\n+++ b/plone/app/customerize/tests/testCustomizeView.txt\n@@ -4,7 +4,7 @@ view via the ZMI:\n >>> import transaction\n >>> portal = layer['portal']\n \n- >>> from plone.testing.z2 import Browser\n+ >>> from plone.testing.zope import Browser\n >>> from plone.app.testing import SITE_OWNER_NAME, SITE_OWNER_PASSWORD\n >>> browser = Browser(layer['app'])\n >>> browser.addHeader('Authorization', 'Basic %s:%s' % (\n" | ||
|
||
Repository: plone.app.lockingbehavior | ||
Repository: plone.app.customerize | ||
|
||
|
||
Branch: refs/heads/master | ||
Date: 2025-01-21T15:50:57+01:00 | ||
Date: 2025-01-21T15:51:37+01:00 | ||
Author: Gil Forcada Codinachs (gforcada) <gil.gnome@gmail.com> | ||
Commit: https://github.com/plone/plone.app.lockingbehavior/commit/613f78b3d1d2d92ba9972b9b7733a6758e2e8659 | ||
Commit: https://github.com/plone/plone.app.customerize/commit/8cdccc6a9399fc434796a0f052e44475d9876d7e | ||
|
||
Merge pull request #12 from plone/maurits-warnings | ||
Merge pull request #38 from plone/maurits-warnings | ||
|
||
Fix DeprecationWarnings. | ||
|
||
Files changed: | ||
A news/4090.bugfix | ||
M plone/app/lockingbehavior/tests/test_locking.py | ||
M plone/app/customerize/tests/testBrowserLayers.txt | ||
M plone/app/customerize/tests/testCustomizeView.txt | ||
|
||
b'diff --git a/news/4090.bugfix b/news/4090.bugfix\nnew file mode 100644\nindex 0000000..8528aef\n--- /dev/null\n+++ b/news/4090.bugfix\n@@ -0,0 +1 @@\n+Fix DeprecationWarnings. [maurits]\ndiff --git a/plone/app/lockingbehavior/tests/test_locking.py b/plone/app/lockingbehavior/tests/test_locking.py\nindex 9773067..c501fa4 100644\n--- a/plone/app/lockingbehavior/tests/test_locking.py\n+++ b/plone/app/lockingbehavior/tests/test_locking.py\n@@ -6,7 +6,7 @@\n from plone.app.testing import TEST_USER_NAME\n from plone.app.testing import TEST_USER_PASSWORD\n from plone.dexterity.fti import DexterityFTI\n-from plone.testing import z2\n+from plone.testing import zope\n \n import transaction\n import unittest\n@@ -28,7 +28,7 @@ def setUp(self):\n transaction.commit()\n \n # prepare two browsers\n- self.foo_browser = z2.Browser(self.layer["app"])\n+ self.foo_browser = zope.Browser(self.layer["app"])\n self.foo_browser.addHeader(\n "Authorization",\n "Basic %s:%s"\n@@ -39,7 +39,7 @@ def setUp(self):\n )\n self.foo_browser.open("http://nohost/plone")\n \n- self.bar_browser = z2.Browser(self.layer["app"])\n+ self.bar_browser = zope.Browser(self.layer["app"])\n self.bar_browser.addHeader(\n "Authorization",\n "Basic %s:%s"\n' | ||
b"diff --git a/news/4090.bugfix b/news/4090.bugfix\nnew file mode 100644\nindex 0000000..8528aef\n--- /dev/null\n+++ b/news/4090.bugfix\n@@ -0,0 +1 @@\n+Fix DeprecationWarnings. [maurits]\ndiff --git a/plone/app/customerize/tests/testBrowserLayers.txt b/plone/app/customerize/tests/testBrowserLayers.txt\nindex 8277a56..cb6c99e 100644\n--- a/plone/app/customerize/tests/testBrowserLayers.txt\n+++ b/plone/app/customerize/tests/testBrowserLayers.txt\n@@ -15,7 +15,7 @@ product is installed, we cannot view the view, though:\n >>> from plone.app.testing import SITE_OWNER_NAME, SITE_OWNER_PASSWORD\n >>> portal = layer['portal']\n \n- >>> from plone.testing.z2 import Browser\n+ >>> from plone.testing.zope import Browser\n >>> browser = Browser(layer['app'])\n >>> browser.handleErrors = False\n >>> browser.addHeader('Authorization', 'Basic %s:%s' % (\ndiff --git a/plone/app/customerize/tests/testCustomizeView.txt b/plone/app/customerize/tests/testCustomizeView.txt\nindex 660f78f..059a048 100644\n--- a/plone/app/customerize/tests/testCustomizeView.txt\n+++ b/plone/app/customerize/tests/testCustomizeView.txt\n@@ -4,7 +4,7 @@ view via the ZMI:\n >>> import transaction\n >>> portal = layer['portal']\n \n- >>> from plone.testing.z2 import Browser\n+ >>> from plone.testing.zope import Browser\n >>> from plone.app.testing import SITE_OWNER_NAME, SITE_OWNER_PASSWORD\n >>> browser = Browser(layer['app'])\n >>> browser.addHeader('Authorization', 'Basic %s:%s' % (\n" | ||
|