Esempio n. 1
0
    def setUpClass(cls):
        if DatabaseContext.THREADS_MANAGER_CYCLING == False:
            DatabaseContext.THREADS_MANAGER_CYCLING = True
            ThreadsManager().start()

        CollectionsSimulator.build_single_col('col', ['id'])
        CollectionsSimulator.build_users_col()
Esempio n. 2
0
 def setUpClass(cls):
     CollectionsSimulator.build_single_col('col', None)
Esempio n. 3
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'])