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))
def setUpClass(cls): setup_postgres(cls) super(TestConfigDBPostgres, cls).setUpClass()