Package pytils :: Package test :: Module test_numeral :: Class SumStringTestCase
[hide private]
[frames] | no frames]

Class SumStringTestCase

source code

       object --+    
                |    
unittest.TestCase --+
                    |
                   SumStringTestCase

Test case for pytils.numeral.sum_string

Nested Classes [hide private]

Inherited from unittest.TestCase: failureException


Instance Methods [hide private]
  setUp(self)
Setting up environment for tests
  ckMale(self, amount, estimated)
Checks sum_string with male gender
  ckFemale(self, amount, estimated)
Checks sum_string with female gender
  testSumString(self)
Unit-test for sum_string
  testSumStringExceptions(self)
Unit-test for testing sum_string's exceptions

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 object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__


Properties [hide private]

Inherited from object: __class__


Method Details [hide private]

setUp(self)

source code 
Setting up environment for tests
Overrides: unittest.TestCase.setUp

ckMale(self, amount, estimated)

source code 
Checks sum_string with male gender

ckFemale(self, amount, estimated)

source code 
Checks sum_string with female gender

testSumString(self)

source code 
Unit-test for sum_string

testSumStringExceptions(self)

source code 
Unit-test for testing sum_string's exceptions