Package boxmin :: Package tests :: Module test_eval :: Class TestPyfn
[hide private]

Class TestPyfn

source code


Nested Classes [hide private]

Inherited from unittest.TestCase: failureException

Instance Methods [hide private]
 
setUp(self)
Hook method for setting up the test fixture before exercising it.
source code
 
test1(self)
direct call to callback using an array
source code
 
test2(self)
direct call to callback using a Tuple
source code
 
test3(self)
pyfn call to callback from C
source code
 
test4(self)
pyfn call to callback from C with array that is too short
source code
 
test5(self)
pyfn callback with bad return type
source code
 
test6(self)
pyfn callback with bad signature
source code
 
test7(self)
pyfn call with insufficient arguments
source code
 
test8(self)
pyfn call with too many arguments
source code
 
test9(self)
pyfn call with wrong tuple instead of callback
source code
 
test10(self)
pyfn call with non-callable function
source code
 
test11(self)
pyfn call with list value
source code
 
test12(self)
pyfn call with non-numeric value
source code

Inherited from unittest.TestCase: __call__, __init__, __repr__, __str__, assertAlmostEqual, assertAlmostEquals, assertEqual, assertEquals, assertFalse, assertNotAlmostEqual, assertNotAlmostEquals, assertNotEqual, assertNotEquals, assertRaises, assertTrue, assert_, countTestCases, debug, defaultTestResult, fail, failIf, failIfAlmostEqual, failIfEqual, failUnless, failUnlessAlmostEqual, failUnlessEqual, failUnlessRaises, id, run, shortDescription, tearDown

Inherited from unittest.TestCase (private): _exc_info

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__

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.TestCase.setUp
(inherited documentation)