diff options
author | John Wiegley <johnw@newartisans.com> | 2009-06-18 01:48:01 +0100 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-06-18 01:49:49 +0100 |
commit | 1fd4387b678782f2ed90484d36f8980b64d58aa3 (patch) | |
tree | 55dd6deb43c90f873e751ff4318e674648221649 /test/baseline/opt-pricesdb-format.test | |
parent | 47d237e18b7902f54ec36ff359ae6e6d0738c67e (diff) | |
download | fork-ledger-1fd4387b678782f2ed90484d36f8980b64d58aa3.tar.gz fork-ledger-1fd4387b678782f2ed90484d36f8980b64d58aa3.tar.bz2 fork-ledger-1fd4387b678782f2ed90484d36f8980b64d58aa3.zip |
Restored pricesdb command and --pricesdb-format option
Diffstat (limited to 'test/baseline/opt-pricesdb-format.test')
-rw-r--r-- | test/baseline/opt-pricesdb-format.test | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/test/baseline/opt-pricesdb-format.test b/test/baseline/opt-pricesdb-format.test new file mode 100644 index 00000000..28998903 --- /dev/null +++ b/test/baseline/opt-pricesdb-format.test @@ -0,0 +1,19 @@ +pricesdb --pricesdb-format='P %(date) %(scrub(display_amount))\n' +<<< +P 2009/01/01 13:30:00 AAPL $10.00 +P 2009/01/01 14:30:00 AAPL $20.00 +P 2009/01/01 15:30:00 AAPL $30.00 +P 2009/01/01 16:30:00 AAPL $40.00 +P 2009/02/01 17:30:00 AAPL $50.00 + +2009/03/01 Purchase + Assets:Brokerage 100 AAPL + Income +>>>1 +P 09-Jan-01 $10.00 +P 09-Jan-01 $20.00 +P 09-Jan-01 $30.00 +P 09-Jan-01 $40.00 +P 09-Feb-01 $50.00 +>>>2 +=== 0 |