Changeset 3554 in products


Ignore:
Timestamp:
Sep 14, 2012 9:53:49 AM (12 years ago)
Author:
vmaksymiv
Message:

removed previously disabled test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.portlet.collection/trunk/quintagroup/portlet/collection/tests/test_portlet.py

    r3540 r3554  
    8787        cat.indexObject(obj) 
    8888        return obj 
    89  
    90     def test_render(self): 
    91         r = self.renderer(context=self.portal, assignment=collection.Assignment(header=u"title")) 
    92         r = r.__of__(self.folder) 
    93         r.update() 
    94         output = r.render() 
    95  
    96         # this test failed due to changed behavior. We'll not output anything if the portlet does not point to a collection 
    97  
    98         #self.failUnless('title' in output) 
    99         #self.failUnless('<b>text</b>' in output) 
    100  
    10189 
    10290    def test_collection_path_unicode(self): 
     
    189177        def reset_memoize(inst): 
    190178            # Decorator memoize adds attribute ('_memojito_') to class instance. 
    191             # It has cached function and their values so it should be deleted  
     179            # It has cached function and their values so it should be deleted 
    192180            # for testing. 
    193181            # Extra info: http://codereview.corp.quintagroup.com/171241/show 
    194182            if hasattr(inst, '_memojito_'): 
    195183                delattr(inst, '_memojito_') 
    196     
     184 
    197185        # set up our portlet renderer 
    198186        mapping = PortletAssignmentMapping() 
Note: See TracChangeset for help on using the changeset viewer.