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

Class ChoosePluralTestCase

source code

       object --+    
                |    
unittest.TestCase --+
                    |
                   ChoosePluralTestCase

Test case for pytils.numeral.choose_plural

Nested Classes [hide private]

Inherited from unittest.TestCase: failureException

Instance Methods [hide private]
 
setUp(self)
Setting up environment for tests
source code
 
checkChoosePlural(self, amount, estimated)
Checks choose_plural
source code
 
testChoosePlural(self)
Unit-test for choose_plural
source code
 
testChoosePluralExceptions(self)
Unit-test for testing choos_plural's exceptions
source code
 
testChoosePluralVariantsInStr(self)
Tests new-style variants
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 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