From 34faa25a566be09ff5518d095b28599b0c6dd8d5 Mon Sep 17 00:00:00 2001
From: Kazuhiko Shiozaki <kazuhiko@nexedi.com>
Date: Wed, 27 Jan 2016 16:54:15 +0100
Subject: [PATCH] test: update causality state explicitly because normal users
 have no write to modify in solving state.

---
 product/ERP5/tests/testConversionInSimulation.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/product/ERP5/tests/testConversionInSimulation.py b/product/ERP5/tests/testConversionInSimulation.py
index d52ff36719..1ec78a701f 100644
--- a/product/ERP5/tests/testConversionInSimulation.py
+++ b/product/ERP5/tests/testConversionInSimulation.py
@@ -577,6 +577,7 @@ class TestConversionInSimulation(AccountingTestCase):
                              'diverged')
     self._solveDivergence(related_packing_list, 'quantity', 'accept')
     self.tic()
+    related_packing_list.updateCausalityState()
     related_packing_list.start()
     related_packing_list.stop()
     self.tic()
@@ -676,6 +677,7 @@ class TestConversionInSimulation(AccountingTestCase):
 
     self._solveDivergence(related_packing_list, 'quantity','accept')
     self.tic()
+    related_packing_list.updateCausalityState()
     related_packing_list.start()
     related_packing_list.stop()
     self.tic()
-- 
2.30.9