Commit 14ab1972 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Use a real TID in test.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@1461 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 57a219d6
......@@ -108,7 +108,7 @@ class NeoTestBase(unittest.TestCase):
def getAdminUUID(self):
return self._makeUUID('A')
def getNextTID(self, ltid):
def getNextTID(self, ltid=None):
tm = time()
gmt = gmtime(tm)
upper = ((((gmt.tm_year - 1900) * 12 + gmt.tm_mon - 1) * 31 \
......
......@@ -818,7 +818,7 @@ class ClientHandlerTests(NeoTestBase):
dispatcher = self.getDispatcher()
client_handler = StorageAnswersHandler(app)
conn = self.getConnection()
tid = '\x00\x00\x00\x00\x00\x00\x00\x01' # XXX: use a more realistic tid
tid = self.getNextTID()
user = 'bar'
desc = 'foo'
ext = 0 # XXX: unused in implementation
......
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