Changeset 2612 in products


Ignore:
Timestamp:
Jul 5, 2010 2:22:41 PM (10 years ago)
Author:
liebster
Message:

Clean up test_ngenresForNotExtended test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.plonegooglesitemaps/trunk/quintagroup/plonegooglesitemaps/tests/testNewsSitemaps.py

    r2538 r2612  
    9191        # No genres should present for not extended content type 
    9292        my_doc = _createObjectByType('Document', self.portal, id='my_doc') 
    93         #self.portal.invokeFactory("Document", id="my_doc") 
    94         #my_doc = getattr(self.portal, "my_doc") 
    9593        my_doc.edit(text="Test document") 
    9694        self.workflow.doActionFor(my_doc, "publish") 
    9795        self.portal["news-sitemaps"].edit(portalTypes=("Document",)) 
    9896        self.reParse() 
    99         open("/tmp/news.sm.docs.xml", "w").write(self.sitemap) 
    10097        self.assertNotEqual("n:genres" in self.start.keys(), True) 
    10198 
Note: See TracChangeset for help on using the changeset viewer.