[Checkins] SVN: five.localsitemanager/trunk/ Made the tests compatible with Zope 2.13.0a2.
Hanno Schlichting
hannosch at hannosch.eu
Sun Jul 11 06:01:45 EDT 2010
Log message for revision 114560:
Made the tests compatible with Zope 2.13.0a2.
Changed:
U five.localsitemanager/trunk/CHANGES.txt
U five.localsitemanager/trunk/src/five/localsitemanager/browser.txt
-=-
Modified: five.localsitemanager/trunk/CHANGES.txt
===================================================================
--- five.localsitemanager/trunk/CHANGES.txt 2010-07-11 09:57:11 UTC (rev 114559)
+++ five.localsitemanager/trunk/CHANGES.txt 2010-07-11 10:01:44 UTC (rev 114560)
@@ -4,6 +4,7 @@
2.0.5 - unreleased
------------------
+* Made the tests compatible with Zope 2.13.0a2.
2.0.4 - 2010-06-13
------------------
Modified: five.localsitemanager/trunk/src/five/localsitemanager/browser.txt
===================================================================
--- five.localsitemanager/trunk/src/five/localsitemanager/browser.txt 2010-07-11 09:57:11 UTC (rev 114559)
+++ five.localsitemanager/trunk/src/five/localsitemanager/browser.txt 2010-07-11 10:01:44 UTC (rev 114560)
@@ -52,10 +52,8 @@
Make a folder to use as a local site for component registration:
- >>> browser.open('http://localhost/manage_addProduct/OFSP/folderAdd')
- >>> browser.getControl(name='id').value = 'folder'
- >>> browser.getControl('Add').click()
- >>> browser.getLink('folder').click()
+ >>> from OFS.Folder import manage_addFolder
+ >>> manage_addFolder(app, 'folder')
Look up the ``components.html`` view and make sure the ``Make Site`` action
still works.
@@ -71,10 +69,7 @@
Now we add a sub folder.
- >>> browser.open('http://localhost/folder/manage_addProduct/OFSP/folderAdd')
- >>> browser.getControl(name='id').value = 'subfolder'
- >>> browser.getControl('Add').click()
- >>> browser.getLink('folder').click()
+ >>> manage_addFolder(app.folder, 'subfolder')
>>> browser.open('http://localhost/folder/subfolder/components.html')
>>> browser.getControl('Make site').click()
More information about the checkins
mailing list