Package dbf :: Module tests :: Class TestDbfRecords
[hide private]
[frames] | no frames]

Class TestDbfRecords

source code

            object --+    
                     |    
unittest.case.TestCase --+
                         |
                        TestDbfRecords

Testing records

Nested Classes [hide private]

Inherited from unittest.case.TestCase: failureException

Instance Methods [hide private]
 
setUp(self)
Hook method for setting up the test fixture before exercising it.
source code
 
tearDown(self)
Hook method for deconstructing the test fixture after testing it.
source code
 
test_slicing(self) source code
 
test_dbf_adding_records(self)
dbf table: adding records
source code
 
test_vfp_adding_records(self)
vfp table: adding records
source code
 
test_char_memo_return_type(self)
check character fields return type
source code
 
test_empty_is_none(self)
empty and None values
source code
 
test_custom_data_type(self)
custom data types
source code
 
test_datatypes_param(self)
field_types with normal data type but None on empty
source code
 
test_null_type(self)
NullType
source code
 
test_nonascii_text_cptrans(self)
check non-ascii text to unicode
source code
 
test_nonascii_text_no_cptrans(self)
check non-ascii text to bytes
source code
 
test_add_null_field(self)
adding a null field to an existing table
source code
 
test_remove_null_field(self)
removing null fields from an existing table
source code
 
test_change_null_field(self)
making an existing field nullable (or not)
source code
 
test_add_field_to_null(self)
adding a normal field to a table with null fields
source code
 
test_remove_field_from_null(self)
removing a normal field from a table with null fields
source code
 
test_flux_internal(self)
commit and rollback of flux record (implementation detail)
source code

Inherited from unittest.case.TestCase: __call__, __eq__, __hash__, __init__, __ne__, __repr__, __str__, addCleanup, addTypeEqualityFunc, assertAlmostEqual, assertAlmostEquals, assertDictContainsSubset, assertDictEqual, assertEqual, assertEquals, assertFalse, assertGreater, assertGreaterEqual, assertIn, assertIs, assertIsInstance, assertIsNone, assertIsNot, assertIsNotNone, assertItemsEqual, assertLess, assertLessEqual, assertListEqual, assertMultiLineEqual, assertNotAlmostEqual, assertNotAlmostEquals, assertNotEqual, assertNotEquals, assertNotIn, assertNotIsInstance, assertNotRegexpMatches, assertRaises, assertRaisesRegexp, assertRegexpMatches, assertSequenceEqual, assertSetEqual, assertTrue, assertTupleEqual, assert_, countTestCases, debug, defaultTestResult, doCleanups, fail, failIf, failIfAlmostEqual, failIfEqual, failUnless, failUnlessAlmostEqual, failUnlessEqual, failUnlessRaises, id, run, shortDescription, skipTest

Inherited from unittest.case.TestCase (private): _addSkip, _baseAssertEqual, _deprecate, _formatMessage, _getAssertEqualityFunc, _truncateMessage

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Class Methods [hide private]

Inherited from unittest.case.TestCase: setUpClass, tearDownClass

Class Variables [hide private]

Inherited from unittest.case.TestCase: longMessage, maxDiff

Inherited from unittest.case.TestCase (private): _classSetupFailed, _diffThreshold

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

setUp(self)

source code 

Hook method for setting up the test fixture before exercising it.

Overrides: unittest.case.TestCase.setUp
(inherited documentation)

tearDown(self)

source code 

Hook method for deconstructing the test fixture after testing it.

Overrides: unittest.case.TestCase.tearDown
(inherited documentation)