Commit eae5051a authored by Grégory Wisniewski's avatar Grégory Wisniewski

Useless code, last oid is now found in the config table.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@2201 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent cbd54cfc
...@@ -90,17 +90,8 @@ class StorageVerificationHandlerTests(NeoTestBase): ...@@ -90,17 +90,8 @@ class StorageVerificationHandlerTests(NeoTestBase):
self.assertEqual(ptid, last_ptid) self.assertEqual(ptid, last_ptid)
# return value stored in db # return value stored in db
# insert some oid
conn = self.getClientConnection() conn = self.getClientConnection()
self.app.dm.begin() 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 # insert some tid
self.app.dm.query("""insert into trans (tid, oids, user, self.app.dm.query("""insert into trans (tid, oids, user,
description, ext) values (1, '', '', '', '')""") description, ext) values (1, '', '', '', '')""")
......
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