diff options
author | John Wiegley <johnw@newartisans.com> | 2007-04-17 07:33:36 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 03:35:36 -0400 |
commit | 0f2cad4cab7ef99e1ad33be34ea813213da7288d (patch) | |
tree | 0dbd64dfdb1022d811d2dfdc5f3693f5faafafb8 /tests/python/corelib/numerics/CommodityAmount.py | |
parent | 2e3082e734362fb934ff8f308fe9fd9f85c35032 (diff) | |
download | ledger-0f2cad4cab7ef99e1ad33be34ea813213da7288d.tar.gz ledger-0f2cad4cab7ef99e1ad33be34ea813213da7288d.tar.bz2 ledger-0f2cad4cab7ef99e1ad33be34ea813213da7288d.zip |
Got most of the commodity tests working, save multiplication and division.
Diffstat (limited to 'tests/python/corelib/numerics/CommodityAmount.py')
-rw-r--r-- | tests/python/corelib/numerics/CommodityAmount.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/python/corelib/numerics/CommodityAmount.py b/tests/python/corelib/numerics/CommodityAmount.py index ce6479a2..1a32243f 100644 --- a/tests/python/corelib/numerics/CommodityAmount.py +++ b/tests/python/corelib/numerics/CommodityAmount.py @@ -4,7 +4,7 @@ import exceptions from ledger import amount -class BasicAmountTestCase(unittest.TestCase): +class CommodityAmountTestCase(unittest.TestCase): def testConstructors(self): x0 = amount() x1 = amount(123456) @@ -457,7 +457,7 @@ class BasicAmountTestCase(unittest.TestCase): def suite(): - return unittest.TestLoader().loadTestsFromTestCase(BasicAmountTestCase) + return unittest.TestLoader().loadTestsFromTestCase(CommodityAmountTestCase) if __name__ == '__main__': unittest.main() |