Add baseline test for --price-db option.
This commit is contained in:
parent
e6a967b860
commit
df944929f8
3 changed files with 10 additions and 1 deletions
|
|
@ -31,7 +31,6 @@ class CheckBaselineTests (CheckOptions):
|
|||
'no-color',
|
||||
'no-pager'
|
||||
'options',
|
||||
'price-db',
|
||||
'price-exp',
|
||||
'revalued-total',
|
||||
'seed',
|
||||
|
|
|
|||
2
test/baseline/opt-price-db.dat
Normal file
2
test/baseline/opt-price-db.dat
Normal 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
|
||||
8
test/baseline/opt-price-db.test
Normal file
8
test/baseline/opt-price-db.test
Normal 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
|
||||
Loading…
Add table
Reference in a new issue