Skip to content

Commit

Permalink
Test object return by from_custom_provider is a FlaskMultiRedis instance
Browse files Browse the repository at this point in the history
  • Loading branch information
max-k committed Aug 12, 2016
1 parent a10a983 commit 1fd835b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/integration/test_flask_multi_redis.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ def __init__(self, **kwargs):
pass

redis = FlaskMultiRedis.from_custom_provider(FakeProvider)
assert isinstance(redis, FlaskMultiRedis)
assert redis._redis_client is None
redis.init_app(app)
assert redis._redis_client is not None
Expand Down

0 comments on commit 1fd835b

Please sign in to comment.