testing.py 文件源码

python
阅读 22 收藏 0 点赞 0 评论 0

项目:botfriend 作者: leonardr 项目源码 文件源码
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)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号