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
1 changed file
with
6 additions
and
2 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 |
---|---|---|
|
@@ -5,9 +5,13 @@ Viewing the markup control panel | |
-------------------------------- | ||
|
||
>>> self.loginAsManager() | ||
>>> self.browser.open('http://nohost/plone/@@markup-controlpanel') | ||
>>> from plone.protect.authenticator import createToken | ||
|
||
It is only necessary in the test here to add the token. | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
vangheem
Author
Member
|
||
|
||
>>> self.browser.open('http://nohost/plone/@@markup-controlpanel?_authenticator=' + createToken()) | ||
>>> self.browser.url | ||
'http://nohost/plone/@@markup-controlpanel' | ||
'http://nohost/plone/@@markup-controlpanel...' | ||
|
||
We have two controls, one for the default type and a multi selection for | ||
alternative formats: | ||
|
Why is it necessary?