summaryrefslogtreecommitdiff
path: root/test/regress/4D9288AE.py
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-03-30 00:40:58 -0500
committerJohn Wiegley <johnw@newartisans.com>2012-03-30 00:51:06 -0500
commit413a392aa99e8ff225d00d4e07d7370797ef4d88 (patch)
treedd8f72f433d48691a5fa3a402ca0e595672221a7 /test/regress/4D9288AE.py
parenta1c33fec022d53c9d5831d00f26ffcc6f69a007d (diff)
downloadfork-ledger-413a392aa99e8ff225d00d4e07d7370797ef4d88.tar.gz
fork-ledger-413a392aa99e8ff225d00d4e07d7370797ef4d88.tar.bz2
fork-ledger-413a392aa99e8ff225d00d4e07d7370797ef4d88.zip
Added the first Python support regression test
Diffstat (limited to 'test/regress/4D9288AE.py')
-rw-r--r--test/regress/4D9288AE.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/regress/4D9288AE.py b/test/regress/4D9288AE.py
new file mode 100644
index 00000000..4f9c9ba9
--- /dev/null
+++ b/test/regress/4D9288AE.py
@@ -0,0 +1,4 @@
+import ledger
+
+for post in ledger.read_journal("test/regress/4D9288AE.dat").query("^expenses:"):
+ print post.cost