Back to index

plone3  3.1.7
Public Member Functions
CMFCore.tests.test_FSZSQLMethod.FSZSQLMethodTests Class Reference
Inheritance diagram for CMFCore.tests.test_FSZSQLMethod.FSZSQLMethodTests:
Inheritance graph
[legend]
Collaboration diagram for CMFCore.tests.test_FSZSQLMethod.FSZSQLMethodTests:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def setUp
def test_initialization

Detailed Description

Definition at line 25 of file test_FSZSQLMethod.py.


Member Function Documentation

Definition at line 27 of file test_FSZSQLMethod.py.

00027 
00028     def setUp(self):
00029         FSDVTest.setUp(self)
00030         self._registerDirectory(self)

Here is the call graph for this function:

Definition at line 31 of file test_FSZSQLMethod.py.

00031 
00032     def test_initialization(self):
00033         zsql = self.ob.fake_skin.testsql
00034         self.assertEqual(zsql.title, 'This is a title')
00035         self.assertEqual(zsql.connection_id, 'testconn')
00036         self.assertEqual(zsql.arguments_src, 'id')
00037         self.assertEqual(zsql.max_rows_, 1000)
00038         self.assertEqual(zsql.max_cache_, 100)
00039         self.assertEqual(zsql.cache_time_, 10)
00040         self.assertEqual(zsql.class_name_, 'MyRecord')
00041         self.assertEqual(zsql.class_file_, 'CMFCore.TestRecord')
00042         self.assertEqual(zsql.connection_hook, 'MyHook')
00043         self.failIf(zsql.allow_simple_one_argument_traversal is None)
00044 


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