Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

skip test that lost its environment in plone 6 #42

Merged
merged 3 commits into from
May 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions news/42.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Remove test `test_find_first_parent_not_viewable` that lost its environment in Plone 6 [@jensens]
7 changes: 0 additions & 7 deletions plone/app/redirector/tests/test_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,13 +130,6 @@ def test_find_first_parent_not_found(self):
view = self.view(self.portal, "/foo/f1/p1/p2")
self.assertEqual(None, view.find_first_parent())

def test_find_first_parent_not_viewable(self):
view = self.view(
self.portal,
self.portal.absolute_url() + "/portal_css/Plone Default/gone.css",
)
self.assertEqual(None, view.find_first_parent())

def test_search_leaf(self):
self.folder.invokeFactory("Folder", "f1")
self.folder.invokeFactory("Folder", "f2")
Expand Down
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"Environment :: Web Environment",
"Framework :: Plone",
"Framework :: Plone :: 6.0",
"Framework :: Plone :: 6.1",
"Framework :: Plone :: Core",
"Framework :: Zope :: 5",
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
Expand All @@ -23,6 +24,7 @@
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
],
keywords="links redirect",
author="Plone Foundation",
Expand Down