mirror of
https://github.com/NaN-tic/trytond-stock_inventory_expected_quantity.git
synced 2023-12-14 03:32:55 +01:00
Fix tests.
This commit is contained in:
parent
25b85774a7
commit
d77da8fce8
|
@ -74,11 +74,11 @@ Create an inventory::
|
|||
>>> inventory.location = storage_loc
|
||||
>>> line = inventory.lines.new()
|
||||
>>> line.product = product
|
||||
>>> line.expected_quantity
|
||||
0.0
|
||||
>>> line.expected_quantity == 0.0
|
||||
True
|
||||
>>> line.lot = lot
|
||||
>>> line.expected_quantity
|
||||
0.0
|
||||
>>> line.expected_quantity == 0.0
|
||||
True
|
||||
|
||||
Fill storage::
|
||||
|
||||
|
@ -122,5 +122,5 @@ Create an inventory and check expected quantity is computed::
|
|||
>>> line, = inventory.lines
|
||||
>>> line.expected_quantity
|
||||
1.0
|
||||
>>> line.quantity
|
||||
0.0
|
||||
>>> line.quantity == 0.0
|
||||
True
|
||||
|
|
|
@ -64,8 +64,8 @@ Create an inventory::
|
|||
>>> inventory.location = storage_loc
|
||||
>>> line = inventory.lines.new()
|
||||
>>> line.product = product
|
||||
>>> line.expected_quantity
|
||||
0.0
|
||||
>>> line.expected_quantity == 0.0
|
||||
True
|
||||
|
||||
Fill storage::
|
||||
|
||||
|
@ -94,5 +94,5 @@ Create an inventory and check expected quantity is computed::
|
|||
>>> line, = inventory.lines
|
||||
>>> line.expected_quantity
|
||||
1.0
|
||||
>>> line.quantity
|
||||
0.0
|
||||
>>> line.quantity == 0.0
|
||||
True
|
||||
|
|
Loading…
Reference in a new issue