Exemple #1
0
 def setUp(self):
     self.pool = test.init_database(self.__class__)
     self.exchange = exchange.ObjectExchange(self.pool)
 def setUp(self):
     self.pool = test.init_database(self.__class__)
Exemple #3
0
 def setUp(self):
     self.pool = test.init_database(self.__class__)
     self.exchange = exchange.ObjectExchange(self.pool)
     
     self.wizard = self.exchange.get_object('wizard')
     self.user = self.exchange.get_object('user')
Exemple #4
0
 def setUp(self):
     self.pool = test.init_database(self.__class__, dataset='default')
     self.exchange = exchange.ObjectExchange(self.pool)
     self.exchange.queue = test.Anything(
         flush    = lambda: None,
     )