[Erp5-report] r37193 ivan - /erp5/trunk/products/ERP5OOo/tests/testIngestion.py

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Jul 20 08:02:58 CEST 2010


Author: ivan
Date: Tue Jul 20 08:02:58 2010
New Revision: 37193

URL: http://svn.erp5.org?rev=37193&view=rev
Log:
Snapshot has been removed.

Modified:
    erp5/trunk/products/ERP5OOo/tests/testIngestion.py

Modified: erp5/trunk/products/ERP5OOo/tests/testIngestion.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5OOo/tests/testIngestion.py?rev=37193&r1=37192&r2=37193&view=diff
==============================================================================
--- erp5/trunk/products/ERP5OOo/tests/testIngestion.py [utf8] (original)
+++ erp5/trunk/products/ERP5OOo/tests/testIngestion.py [utf8] Tue Jul 20 08:02:58 2010
@@ -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




More information about the Erp5-report mailing list