Permalink
Browse files

change test to avoid using the full IBrowserView path, which moved in…

… Zope 2.12

svn path=/plone.app.customerize/branches/1.2/; revision=28152
  • Loading branch information...
davisagli committed Jul 23, 2009
1 parent f65f8b3 commit a4e8bb2803ba05cb62339c810be05c361d67aac9
Showing with 4 additions and 4 deletions.
  1. +2 −2 docs/HISTORY.txt
  2. +2 −2 plone/app/customerize/docs/testBrowserLayers.txt
View
@@ -7,8 +7,8 @@ plone.app.customerize - 1.2 Unreleased
- Specified package dependencies.
[hannosch]
- - Fixed a test failure caused by changed HTML markup.
- [hannosch]
+ - Fixed test failures caused by changed HTML markup.
+ [hannosch, davisagli]
plone.app.customerize - 1.1.2 Released July 10, 2008
@@ -256,8 +256,8 @@ Now we should see two registrations with this view name:
But they should link to different places:
- >>> my = browser.getLink(url='IMyLayer,zope.publisher.interfaces.browser.IBrowserView,zope.viewlet.interfaces.IViewletManager&view_name=layer-test-viewlet')
- >>> other = browser.getLink(url='IOtherLayer,zope.publisher.interfaces.browser.IBrowserView,zope.viewlet.interfaces.IViewletManager&view_name=layer-test-viewlet')
+ >>> my = browser.getLink('layer-test-viewlet', index=0)
+ >>> other = browser.getLink('layer-test-viewlet', index=1)
>>> my.text == other.text
True
>>> my.url == other.url

0 comments on commit a4e8bb2

Please sign in to comment.