示例#1
0
    def setUpClass(cls):
        if DatabaseContext.THREADS_MANAGER_CYCLING == False:
            DatabaseContext.THREADS_MANAGER_CYCLING = True
            ThreadsManager().start()

        CollectionsSimulator.build_big_col('col', ['id'])
        CollectionsSimulator.build_users_col()
示例#2
0
 def setUpClass(cls):
     CollectionsSimulator.build_single_col('col', None)
     CollectionsSimulator.build_big_col('big-col', None)
     CollectionsSimulator.build_big_col('big-col-with-index', ['id'])
示例#3
0
 def setUpClass(cls):
     CollectionsSimulator.build_big_col('col', None)