cic-internal-integration/apps/cic-eth/tests/check/test_check_redis.py
2021-05-31 15:34:16 +00:00

17 lines
320 B
Python

# external imports
import pytest
# local imports
from cic_eth.check.redis import health
def test_check_redis(
config,
have_redis,
):
if have_redis != None:
pytest.skip('cannot connect to redis, skipping test: {}'.format(have_redis))
assert health(unit='test', config=config)