mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-26 04:11:25 -07: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:
parent
25c52d56bd
commit
1db167b12a
9 changed files with 21 additions and 50 deletions
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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue