Commit 7911debb authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

fix test following the change in 414042ad

parent aff9d336
......@@ -400,8 +400,8 @@ class TestTradeModelLine(TestTradeModelLineMixin):
def check(movement, movement_id):
kw = {}
for reference, result in expected_result_dict.iteritems():
total_price = result.get(movement_id)
if total_price:
total_price = result.get(movement_id) or 0.0
if True:
model_line = self['trade_model_line/' + reference]
kw[reference] = dict(total_price=total_price,
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment