summaryrefslogtreecommitdiff
path: root/test/regress/xact_code.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/regress/xact_code.py')
-rw-r--r--test/regress/xact_code.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/regress/xact_code.py b/test/regress/xact_code.py
new file mode 100644
index 00000000..64abb17d
--- /dev/null
+++ b/test/regress/xact_code.py
@@ -0,0 +1,4 @@
+import ledger
+
+for post in ledger.read_journal('test/regress/xact_code.dat').query('expenses'):
+ print post.xact.code