Package pytils :: Package test :: Module test_numeral :: Class InWordsTestCase
[hide private]

Class InWordsTestCase

source code

       object --+    
                |    
unittest.TestCase --+
                    |
                   InWordsTestCase

Test case for pytils.numeral.in_words

Nested Classes [hide private]

Inherited from unittest.TestCase: failureException

Instance Methods [hide private]
 
testInt(self)
Unit-test for in_words_int
source code
 
testIntExceptions(self)
Unit-test for testing in_words_int's exceptions
source code
 
testFloat(self)
Unit-test for in_words_float
source code
 
testFloatExceptions(self)
Unit-test for testing in_words_float's exceptions
source code
 
testWithGenderOldStyle(self)
Unit-test for in_words_float with gender (old-style, i.e.
source code
 
testWithGender(self)
Unit-test for in_words_float with gender (old-style, i.e.
source code
 
testCommon(self)
Unit-test for general in_words
source code
 
testCommonExceptions(self)
Unit-test for testing in_words' exceptions
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, 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]

testWithGenderOldStyle(self)

source code 
Unit-test for in_words_float with gender (old-style, i.e. ints)

testWithGender(self)

source code 
Unit-test for in_words_float with gender (old-style, i.e. ints)