Test redis
test_getting_value(fastapi_app, fake_redis_pool, client)
  
  
      async
  
  Tests that you can get value from redis by key.
Parameters:
| Name | Type | Description | Default | 
|---|---|---|---|
fastapi_app | 
          
                FastAPI
           | 
          current application fixture.  | 
          required | 
fake_redis_pool | 
          
                ConnectionPool
           | 
          fake redis pool.  | 
          required | 
client | 
          
                AsyncClient
           | 
          client fixture.  | 
          required | 
Source code in hestia/tests/test_redis.py
        41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63  |  | 
test_setting_value(fastapi_app, fake_redis_pool, client)
  
  
      async
  
  Tests that you can set value in redis.
Parameters:
| Name | Type | Description | Default | 
|---|---|---|---|
fastapi_app | 
          
                FastAPI
           | 
          current application fixture.  | 
          required | 
fake_redis_pool | 
          
                ConnectionPool
           | 
          fake redis pool.  | 
          required | 
client | 
          
                AsyncClient
           | 
          client fixture.  | 
          required | 
Source code in hestia/tests/test_redis.py
        10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38  |  |