Package pytils :: Package test :: Module test_utils :: Class ChecksTestCase
[hide private]
[frames] | no frames]

Class ChecksTestCase

source code

       object --+    
                |    
unittest.TestCase --+
                    |
                   ChecksTestCase

Test case for check_* utils

Nested Classes [hide private]

Inherited from unittest.TestCase: failureException


Instance Methods [hide private]
  testGetValueByName(self)
Unit-test for pytils.utils.get_value_by_name
  testCheckType(self)
Unit-test for pytils.utils.check_type
  testCheckLength(self)
Unit-test for pytils.utils.check_length
  testCheckPositive(self)
Unit-test for pytils.utils.check_positive
  testCheckPositiveStrict(self)
Unit-test for pytils.utils.check_positive

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, setUp, shortDescription, tearDown

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


Properties [hide private]

Inherited from object: __class__


Method Details [hide private]

testGetValueByName(self)

source code 
Unit-test for pytils.utils.get_value_by_name

testCheckType(self)

source code 
Unit-test for pytils.utils.check_type

testCheckLength(self)

source code 
Unit-test for pytils.utils.check_length

testCheckPositive(self)

source code 
Unit-test for pytils.utils.check_positive

testCheckPositiveStrict(self)

source code 
Unit-test for pytils.utils.check_positive