cic-internal-integration/apps/cic-eth/tests/check/test_check_redis.py

17 lines
320 B
Python
Raw Permalink Normal View History

2021-05-31 17:34:16 +02:00
# 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)