From 6853db57e6fdb6fd95764be1f35af0006c9e2ef9 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 23 Apr 2007 04:42:44 +0000 Subject: All tests now working again. Reduced size of entity_t and transaction_t considerably. --- tests/python/corelib/numerics/BasicAmount.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests/python/corelib/numerics/BasicAmount.py') diff --git a/tests/python/corelib/numerics/BasicAmount.py b/tests/python/corelib/numerics/BasicAmount.py index 2ce532d9..bfb67cf2 100644 --- a/tests/python/corelib/numerics/BasicAmount.py +++ b/tests/python/corelib/numerics/BasicAmount.py @@ -4,6 +4,12 @@ import exceptions from ledger import amount class BasicAmountTestCase(unittest.TestCase): + def setUp(self): + amount.initialize() + + def tearDown(self): + amount.shutdown() + def testConstructors(self): x0 = amount() x1 = amount(123456) -- cgit v1.2.3