Commit a9c117ef authored by Christophe Dumez's avatar Christophe Dumez

- Added a test for bug #447


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@9149 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent aba1ccfa
...@@ -3138,6 +3138,30 @@ class TestBusinessTemplate(ERP5TypeTestCase): ...@@ -3138,6 +3138,30 @@ class TestBusinessTemplate(ERP5TypeTestCase):
sequence_list.addSequenceString(sequence_string) sequence_list.addSequenceString(sequence_string)
sequence_list.play(self, quiet=quiet) sequence_list.play(self, quiet=quiet)
def test_29_CheckUninstallRemovedSkinFolder(self, quiet=quiet, run=run_all_test):
if not run: return
if not quiet:
message = 'Test if uninstall works even when the skin folder has already been removed from the site'
ZopeTestCase._print('\n%s ' % message)
LOG('Testing... ', 0, message)
sequence_list = SequenceList()
sequence_string = '\
CreatePortalType \
CreateSkinFolder \
CheckSkinFolderExists \
CreateNewBusinessTemplate \
UseExportBusinessTemplate \
AddSkinFolderToBusinessTemplate \
BuildBusinessTemplate \
InstallCurrentBusinessTemplate \
RemoveSkinFolder \
UninstallBusinessTemplate \
RemoveBusinessTemplate \
RemovePortalType \
'
sequence_list.addSequenceString(sequence_string)
sequence_list.play(self, quiet=quiet)
if __name__ == '__main__': if __name__ == '__main__':
framework() framework()
else: else:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment