Commit f8794c77 authored by Vincent Pelletier's avatar Vincent Pelletier

Move import to top level.

parent f32e9120
......@@ -31,6 +31,10 @@ from neo.lib.protocol import Packets
from neo.lib.util import getAddressType
from time import time
from struct import pack, unpack
try:
from ZODB.utils import newTid
except ImportError:
pass
DB_PREFIX = os.getenv('NEO_DB_PREFIX', 'test_neo')
DB_ADMIN = os.getenv('NEO_DB_ADMIN', 'root')
......@@ -218,7 +222,6 @@ class NeoUnitTestBase(NeoTestBase):
return self._makeUUID('A')
def getNextTID(self, ltid=None):
from ZODB.utils import newTid
return newTid(ltid)
def getPTID(self, i=None):
......
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