Add baseline test for --price-db option.

This commit is contained in:
thdox 2015-02-24 10:42:37 +01:00
parent e6a967b860
commit df944929f8
3 changed files with 10 additions and 1 deletions

View file

@ -31,7 +31,6 @@ class CheckBaselineTests (CheckOptions):
'no-color',
'no-pager'
'options',
'price-db',
'price-exp',
'revalued-total',
'seed',

View file

@ -0,0 +1,2 @@
P 2012-03-16 06:47:12 CAD $2.50
P 2012-03-17 06:47:12 CAD $3.50

View file

@ -0,0 +1,8 @@
2012-03-17 KFC
Expenses:Food 20 CAD
Assets:Cash
test pricedb --price-db test/baseline/opt-price-db.dat
P 2012/03/16 06:47:12 CAD $2.5
P 2012/03/17 06:47:12 CAD $3.5
end test