From 26509026278bb5a50a4fd1b1f6bf4fa461868854 Mon Sep 17 00:00:00 2001 From: Arnaud Fontaine <arnaud.fontaine@nexedi.com> Date: Thu, 1 Mar 2012 11:20:30 +0900 Subject: [PATCH] Uninstall BusinessTemplate at the end of test_BusinessTemplateWithZodbDocumentMigrated. Otherwise, following ZODB Document tests will fail because of the ZODB Document created but not removed in that test. --- product/ERP5/tests/testBusinessTemplate.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/product/ERP5/tests/testBusinessTemplate.py b/product/ERP5/tests/testBusinessTemplate.py index 1a649c17af..5d57b943a0 100644 --- a/product/ERP5/tests/testBusinessTemplate.py +++ b/product/ERP5/tests/testBusinessTemplate.py @@ -7165,6 +7165,11 @@ class TestDocumentTemplateItem(BusinessTemplateMixin): CheckZodbDocumentExists \ CheckInstalledInstallationState \ CheckBuiltBuildingState \ + \ + UninstallBusinessTemplate \ + CheckBuiltBuildingState \ + CheckNotInstalledInstallationState \ + CheckZodbDocumentRemoved \ ' sequence_list.addSequenceString(sequence_string) sequence_list.play(self) -- 2.30.9