From ae90c84d44120b0096764baf9b0cbba18cdab558 Mon Sep 17 00:00:00 2001 From: Ivan Tyagov <ivan@nexedi.com> Date: Tue, 20 Jul 2010 06:02:58 +0000 Subject: [PATCH] Snapshot has been removed. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@37193 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5OOo/tests/testIngestion.py | 47 -------------------------- 1 file changed, 47 deletions(-) diff --git a/product/ERP5OOo/tests/testIngestion.py b/product/ERP5OOo/tests/testIngestion.py index 222442ca19..f676fab018 100644 --- a/product/ERP5OOo/tests/testIngestion.py +++ b/product/ERP5OOo/tests/testIngestion.py @@ -765,27 +765,6 @@ class TestIngestion(ERP5TypeTestCase): """ printAndLog('stepExportImage not implemented') - def stepCheckHasSnapshot(self, sequence=None, sequence_list=None, **kw): - document = self.getDocument('one') - self.failUnless(document.hasSnapshotData()) - - def stepCheckHasNoSnapshot(self, sequence=None, sequence_list=None, **kw): - document = self.getDocument('one') - self.failIf(document.hasSnapshotData()) - - def stepCreateSnapshot(self, sequence=None, sequence_list=None, **kw): - document = self.getDocument('one') - document.createSnapshot() - - def stepTryRecreateSnapshot(self, sequence=None, sequence_list=None, **kw): - document = self.getDocument('one') - # XXX this always fails, don't know why - #self.assertRaises(ConversionError, document.createSnapshot) - - def stepDeleteSnapshot(self, sequence=None, sequence_list=None, **kw): - document = self.getDocument('one') - document.deleteSnapshot() - def stepCleanUp(self, sequence=None, sequence_list=None, **kw): """ Clean up DMS system from old content. @@ -1216,32 +1195,6 @@ class TestIngestion(ERP5TypeTestCase): ] self.playSequence(step_list, quiet) - - def test_07_SnapshotGeneration(self, quiet=QUIET, run=RUN_ALL_TEST): - """ - Generate snapshot, make sure it is there, - try to generate it again, remove and - generate once more - """ - if not run: return - if not quiet: printAndLog('test_07_SnapshotGeneration') - step_list = [ 'stepCleanUp' - ,'stepCreateTextDocument' - ,'stepUploadFromViewForm' - ,'stepCheckConvertingState' - ,'stepTic' - ,'stepCheckConvertedState' - ,'stepCheckHasNoSnapshot' - ,'stepCreateSnapshot' - ,'stepTryRecreateSnapshot' - ,'stepCheckHasSnapshot' - ,'stepDeleteSnapshot' - ,'stepCheckHasNoSnapshot' - ,'stepCreateSnapshot' - ,'stepTic' - ] - self.playSequence(step_list, quiet) - def test_08_Cache(self, quiet=QUIET, run=RUN_ALL_TEST): """ I don't know how to verify how cache works -- 2.30.9