Exemplo n.º 1
0
 def setUpClass(cls):
     setup_postgres(cls)
     cls.daemon = Daemon(CONFIG)
     cls.daemon.start()
     cls.conn = cls.connectToServer()
     cls.objects = cls.connectToServer()
     cls.objects.send(Datagram.create_add_range(DATABASE_PREFIX|1000000,
                                                DATABASE_PREFIX|1000010))
 def setUpClass(cls):
     setup_postgres(cls)
     cls.daemon = Daemon(CONFIG)
     cls.daemon.start()
     cls.conn = cls.connectToServer()
     cls.objects = cls.connectToServer()
     cls.objects.send(
         Datagram.create_add_range(DATABASE_PREFIX | 1000000,
                                   DATABASE_PREFIX | 1000010))
Exemplo n.º 3
0
 def setUpClass(cls):
     setup_postgres(cls)
     super(TestConfigDBPostgres, cls).setUpClass()
Exemplo n.º 4
0
 def setUpClass(cls):
     setup_postgres(cls)
     super(TestConfigDBPostgres, cls).setUpClass()