示例#1
0
 def setUp(self):
     super(TestBigArrayWithSQLAlchemy, self).setUp()
     self.repo = BigArrayRepository(
         array_size=None,
         event_store=self.entity_event_store,
     )
     self.subrepo = self.repo.subrepo
     self.result_queue = None
示例#2
0
 def create_big_array(self, big_array_id=None):
     big_array_id = uuid4() if big_array_id is None else big_array_id
     big_array_repo = BigArrayRepository(
         event_store=self.entity_event_store)
     big_array = big_array_repo[big_array_id]
     return big_array
示例#3
0
 def setUp(self):
     super(TestBigArrayWithSQLAlchemyAndMultithreading, self).setUp()
     self.repo = BigArrayRepository(event_store=self.entity_event_store, )
     self.subrepo = self.repo.subrepo
     self.result_queue = None
 def setUp(self):
     super(ArchivedLogTestCase, self).setUp()
     self.big_array_repo = BigArrayRepository(event_store=self.entity_event_store)