summaryrefslogtreecommitdiff
path: root/test/python
diff options
context:
space:
mode:
Diffstat (limited to 'test/python')
-rw-r--r--test/python/numerics/t_amount.py13
1 files changed, 6 insertions, 7 deletions
diff --git a/test/python/numerics/t_amount.py b/test/python/numerics/t_amount.py
index f7eeee8f..95c98bdb 100644
--- a/test/python/numerics/t_amount.py
+++ b/test/python/numerics/t_amount.py
@@ -16,21 +16,20 @@ class t_amountTestCase(unittest.TestCase):
self.assertTrue(amt.valid())
def setUp(self):
- #self.testSession = session()
- #set_session_context(self.testSession)
+ self.testSession = session()
+ set_session_context(self.testSession)
# Cause the display precision for dollars to be initialized to 2.
x1 = amount("$1.00")
self.assertTrue(x1)
- #amount.stream_fullstrings = True # make reports from UnitTests accurate
+ amount.stream_fullstrings = True # make reports from UnitTests accurate
def tearDown(self):
- pass
- #amount.stream_fullstrings = False
+ amount.stream_fullstrings = False
- #set_session_context()
- #self.testSession = None
+ set_session_context()
+ self.testSession = None
def testParser(self):
x0 = amount()