-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Registry changes * Final changes * Adapt changes to 4.x version * Update changelog
- Loading branch information
Showing
5 changed files
with
54 additions
and
7 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
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
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
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# -*- coding: utf-8 -*- | ||
from plone.app.testing import setRoles | ||
from plone.app.testing import TEST_USER_ID | ||
from plone import api | ||
|
||
from design.plone.policy.testing import DESIGN_PLONE_POLICY_INTEGRATION_TESTING | ||
|
||
import unittest | ||
|
||
|
||
class TestInitialStructureCreation(unittest.TestCase): | ||
layer = DESIGN_PLONE_POLICY_INTEGRATION_TESTING | ||
|
||
def setUp(self): | ||
self.app = self.layer["app"] | ||
self.portal = self.layer["portal"] | ||
|
||
setRoles(self.portal, TEST_USER_ID, ["Manager"]) | ||
|
||
def test_plone_base_interfaces_syndication_ISiteSyndicationSettings_show_author_info( | ||
self, | ||
): | ||
self.assertFalse( | ||
api.portal.get_registry_record( | ||
"Products.CMFPlone.interfaces.syndication.ISiteSyndicationSettings.show_author_info" | ||
) | ||
) |
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