-
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.
- Loading branch information
Showing
2 changed files
with
29 additions
and
1 deletion.
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
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( | ||
"plone.base.interfaces.syndication.ISiteSyndicationSettings.show_author_info" | ||
) | ||
) |