Permalink
Browse files

a couple things have moved in Zope 2.13, so just check the class name

svn path=/plone.testing/trunk/; revision=48060
  • Loading branch information...
1 parent 87b0b11 commit a5f5fd2c9bf9913bf4409d7fee37e5c5d1248a26 @davisagli davisagli committed Mar 13, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/plone/testing/publisher.txt
  2. +1 −1 src/plone/testing/z2.txt
@@ -99,7 +99,7 @@ The permission and view are now registered:
>>> [x.factory for x in siteManager.registeredAdapters()
... if x.provided==Interface and x.required==(Interface, IDefaultBrowserLayer)
... and x.name==u"plone.testing-test"]
- [<class 'zope.app.publisher.browser.viewmeta.plone.testing-test'>]
+ [<class '....plone.testing-test'>]
We can then simulate test tear-down:
View
@@ -151,7 +151,7 @@ components needed by Zope.
And Five has set a ``Zope2VocabularyRegistry`` vocabulary registry:
>>> getVocabularyRegistry()
- <Products.Five.schema.Zope2VocabularyRegistry object at ...>
+ <....Zope2VocabularyRegistry object at ...>
To load additional ZCML, you can use the ``configurationContext`` resource:

0 comments on commit a5f5fd2

Please sign in to comment.