Scheduled maintenance on Saturday, 27 September 2025, from 07:00 AM to 4:00 PM GMT (09:00 AM to 6:00 PM CEST) - some services may be unavailable -

Skip to content
Snippets Groups Projects
test_engine_redis.py 348 B
Newer Older
  • Learn to ignore specific revisions
  • Lluis Gifre Renom's avatar
    Lluis Gifre Renom committed
    import logging
    from ..Factory import get_database, DatabaseEngineEnum
    from .script import sequence
    
    logging.basicConfig(level=logging.INFO)
    
    def test_redis():
        database = get_database(
            DB_ENGINE=DatabaseEngineEnum.REDIS, REDISDB_SERVICE_HOST='127.0.0.1', REDISDB_SERVICE_PORT=31926,
            REDISDB_DATABASE_ID=0)
        sequence(database)