summaryrefslogtreecommitdiff
path: root/test/python/JournalTest.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/python/JournalTest.py')
-rw-r--r--test/python/JournalTest.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/python/JournalTest.py b/test/python/JournalTest.py
index 2565ede8..84ad2f43 100644
--- a/test/python/JournalTest.py
+++ b/test/python/JournalTest.py
@@ -6,7 +6,7 @@ from ledger import *
class JournalTestCase(unittest.TestCase):
def tearDown(self):
- session.close_journal_files()
+ close_journal_files()
def testBasicRead(self):
journal = read_journal_from_string("""
@@ -37,7 +37,7 @@ class JournalTestCase(unittest.TestCase):
try:
fun()
except RuntimeError as e:
- self.assertEquals(str(e).splitlines()[-1],
+ self.assertEqual(str(e).splitlines()[-1],
"No quantity specified for amount")