From 8a1d85ec7956119c1c06d2ce8b186bc9dae1b782 Mon Sep 17 00:00:00 2001 From: Maurits van Rees Date: Mon, 20 Jan 2025 12:09:18 +0100 Subject: [PATCH] Fix DeprecationWarnings. --- news/4090.bugfix | 1 + plone/app/redirector/tests/test_browser.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 news/4090.bugfix diff --git a/news/4090.bugfix b/news/4090.bugfix new file mode 100644 index 0000000..8528aef --- /dev/null +++ b/news/4090.bugfix @@ -0,0 +1 @@ +Fix DeprecationWarnings. [maurits] diff --git a/plone/app/redirector/tests/test_browser.py b/plone/app/redirector/tests/test_browser.py index f3db724..015db99 100644 --- a/plone/app/redirector/tests/test_browser.py +++ b/plone/app/redirector/tests/test_browser.py @@ -2,7 +2,7 @@ from plone.app.redirector.testing import PLONE_APP_REDIRECTOR_FUNCTIONAL_TESTING from plone.app.testing import SITE_OWNER_NAME from plone.app.testing import SITE_OWNER_PASSWORD -from plone.testing.z2 import Browser +from plone.testing.zope import Browser from zope.component import getUtility import unittest