summaryrefslogtreecommitdiff
path: root/tests/python/corelib/numerics/BasicAmount.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/python/corelib/numerics/BasicAmount.py')
-rw-r--r--tests/python/corelib/numerics/BasicAmount.py6
1 files changed, 6 insertions, 0 deletions
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)