[Neo-report] r2201 gregory - /trunk/neo/tests/storage/testVerificationHandler.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Aug 4 10:54:42 CEST 2010
Author: gregory
Date: Wed Aug 4 10:54:41 2010
New Revision: 2201
Log:
Useless code, last oid is now found in the config table.
Modified:
trunk/neo/tests/storage/testVerificationHandler.py
Modified: trunk/neo/tests/storage/testVerificationHandler.py
==============================================================================
--- trunk/neo/tests/storage/testVerificationHandler.py [iso-8859-1] (original)
+++ trunk/neo/tests/storage/testVerificationHandler.py [iso-8859-1] Wed Aug 4 10:54:41 2010
@@ -90,17 +90,8 @@ class StorageVerificationHandlerTests(Ne
self.assertEqual(ptid, last_ptid)
# return value stored in db
- # insert some oid
conn = self.getClientConnection()
self.app.dm.begin()
- self.app.dm.query("""insert into obj (oid, serial, compression,
- checksum, value) values (3, 'A', 0, 0, '')""")
- self.app.dm.query("""insert into obj (oid, serial, compression,
- checksum, value) values (1, 'A', 0, 0, '')""")
- self.app.dm.query("""insert into obj (oid, serial, compression,
- checksum, value) values (2, 'A', 0, 0, '')""")
- self.app.dm.query("""insert into tobj (oid, serial, compression,
- checksum, value) values (5, 'A', 0, 0, '')""")
# insert some tid
self.app.dm.query("""insert into trans (tid, oids, user,
description, ext) values (1, '', '', '', '')""")
More information about the Neo-report
mailing list