Skip to content
Snippets Groups Projects
Commit 7b26ab34 authored by Robert Latta's avatar Robert Latta
Browse files

Excluded the redis connection from coverage check

parent 356c8bba
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,7 @@ import redis
from flask import current_app, g
def get_redis():
def get_redis(): # pragma: no cover
if 'redis_db' not in g:
config = current_app.config['INVENTORY_PROVIDER_CONFIG']
g.redis_db = redis.Redis(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment