Fix tests.

This commit is contained in:
Albert Cervera i Areny 2014-04-21 11:52:15 +02:00
parent 98099a9cfd
commit 6bfc352916
1 changed files with 3 additions and 0 deletions

View File

@ -245,6 +245,9 @@ Create a cost plan for 10 units::
>>> plan.product = product
>>> plan.route = route
>>> plan.quantity = 1
>>> plan.save()
>>> CostPlan.compute([plan.id], config.context)
>>> plan.reload()
>>> len(plan.operations) == 2
True
>>> plan.save()