Back to index

plone3  3.1.7
Public Member Functions | Public Attributes
ResourceRegistries.tests.testCSSRegistry.testZMIMethods Class Reference
Inheritance diagram for ResourceRegistries.tests.testCSSRegistry.testZMIMethods:
Inheritance graph
[legend]
Collaboration diagram for ResourceRegistries.tests.testCSSRegistry.testZMIMethods:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def afterSetUp
def testAdd

Public Attributes

 tool

Detailed Description

Definition at line 51 of file testCSSRegistry.py.


Member Function Documentation

Definition at line 53 of file testCSSRegistry.py.

00053 
00054     def afterSetUp(self):
00055         self.tool = getattr(self.portal, CSSTOOLNAME)
00056         self.tool.clearResources()

Definition at line 57 of file testCSSRegistry.py.

00057 
00058     def testAdd(self):
00059         self.tool.manage_addStylesheet(id='joe')
00060         self.assertEqual(len(self.tool.getResources()), 1)
00061         self.failUnless(self.tool.getResources())
00062 


Member Data Documentation

Definition at line 54 of file testCSSRegistry.py.


The documentation for this class was generated from the following file: