Test expected output instead of comparison in doctest

This commit is contained in:
Cédric Krier
2023-12-29 19:03:10 +01:00
parent 72f5012be5
commit 2fce630dd6
16 changed files with 75 additions and 90 deletions
@@ -167,8 +167,8 @@ Sale products with cost on shipment::
>>> cost_line = sale.lines[-1]
>>> cost_line.product == carrier_product
True
>>> cost_line.quantity == 1
True
>>> cost_line.quantity
1.0
>>> cost_line.amount
Decimal('40.00')
>>> sale.click('confirm')
@@ -235,8 +235,8 @@ Sale products with cost on order::
>>> cost_line = sale.lines[-1]
>>> cost_line.product == carrier_product
True
>>> cost_line.quantity == 1
True
>>> cost_line.quantity
1.0
>>> cost_line.amount
Decimal('25.00')
>>> sale.click('confirm')