Permalink
Browse files

Updating syndication related tests (Refs #14323)

  • Loading branch information...
1 parent 293c19a commit 0c4d0d5357cb832c253561ba3e44513674a64217 @david-batranu david-batranu committed Jul 23, 2013
Showing with 5 additions and 14 deletions.
  1. +0 −6 README.txt
  2. +0 −5 eea/facetednavigation/README.txt
  3. +5 −3 eea/facetednavigation/docs/syndication.txt
View
@@ -107,12 +107,6 @@ addons:
- Products.LinguaPlone
-* Syndication
-
- - Products.basesyndication
- - Products.fatsyndication
- - bda.feed
-
* Cache (memcache)
- plone.memoize
@@ -23,11 +23,6 @@ addons:
* Multilingual/translation solution
- Products.LinguaPlone
- * Syndication
- - Products.basesyndication
- - Products.fatsyndication
- - bda.feed
-
* Cache (memcache)
- plone.memoize
- eea.cache
@@ -12,20 +12,22 @@ Set up
>>> sandbox.setLanguage('en')
>>> request = sandbox.REQUEST
+ >>> from Products.CMFPlone.interfaces.syndication import IFeedSettings
+ >>> IFeedSettings(sandbox).enabled = True
>>> from zope.component import getMultiAdapter
>>> subtyper = getMultiAdapter((sandbox, request), name=u'faceted_subtyper')
>>> subtyper.enable()
RSS2
----
- >>> rss = sandbox.unrestrictedTraverse('@@RSS2', None)
+ >>> rss = sandbox.unrestrictedTraverse('rss.xml', None)
>>> if rss:
... res = rss()
... else:
- ... res = u'<?xml version="1.0" ?>\n<rss version="2.0">\n</rss>\n'
+ ... res = u'<?xml version="1.0"?>\n<rss version="2.0">\n</rss>\n'
>>> res
- u'<?xml version="1.0" ?>...<rss version="2.0">...</rss>...'
+ u'<?xml version="1.0"?>...<rss version="2.0">...</rss>...'
SKOS
----

0 comments on commit 0c4d0d5

Please sign in to comment.