You've already forked community.general
mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-27 20:21:52 +03:00
Bump version to 2.0.0 (#1369)
* Bump version to 2.0.0. * Remove deprecated 2.0.0 features. * Test for failure. * Fix cache plugin unit tests. * Accept direct import only for Ansible 2.9.
This commit is contained in:
4
tests/unit/plugins/cache/test_redis.py
vendored
4
tests/unit/plugins/cache/test_redis.py
vendored
@ -28,9 +28,5 @@ from ansible_collections.community.general.plugins.cache.redis import CacheModul
|
||||
|
||||
|
||||
def test_redis_cachemodule():
|
||||
assert isinstance(RedisCache(), RedisCache)
|
||||
|
||||
|
||||
def test_redis_cachemodule_with_loader():
|
||||
# The _uri option is required for the redis plugin
|
||||
assert isinstance(cache_loader.get('community.general.redis', **{'_uri': '127.0.0.1:6379:1'}), RedisCache)
|
||||
|
Reference in New Issue
Block a user