Back to index

plone3  3.1.7
Public Member Functions
CMFCore.tests.test_FSPythonScript.FSPythonScriptWarningsTests Class Reference
Inheritance diagram for CMFCore.tests.test_FSPythonScript.FSPythonScriptWarningsTests:
Inheritance graph
Collaboration diagram for CMFCore.tests.test_FSPythonScript.FSPythonScriptWarningsTests:
Collaboration graph

List of all members.

Public Member Functions

def setUp
def tearDown
def testFSPSWarn

Detailed Description

Definition at line 291 of file

Member Function Documentation

Definition at line 293 of file

00294     def setUp( self ):
00295         SecurityTest.setUp(self)
00296         FSPSMaker.setUp(self)
00297         self._trap_warning_output()

Here is the call graph for this function:

Definition at line 298 of file

00299     def tearDown(self):
00300         self._free_warning_output()
00301         FSPSMaker.tearDown(self)
00302         SecurityTest.tearDown(self)

Here is the call graph for this function:

Definition at line 303 of file

00304     def testFSPSWarn(self):
00305         self.root._setObject('warn_me', WarnMe(2))
00306         self.root._setObject('warn1', self._makeOne('warn1', ''))
00307         # This used to raise an error:
00308         #   File "/usr/local/python2.3/lib/python2.3/", line 63, in warn_explicit
00309         #     if module[-3:].lower() == ".py":
00310         # TypeError: unsubscriptable object
00311         self.root.warn1()

Here is the call graph for this function:

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