def setup(self):
# Create a new connection to the database.
self._db = Session(self.connection)
self.transaction = self.connection.begin_nested()
# Start with a high number so it won't interfere with tests that
# search for a small number.
self.counter = 2000
self.time_counter = datetime(2014, 1, 1)
评论列表
文章目录