summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/old_style_cache_plugins
diff options
context:
space:
mode:
authorMatt Clay <matt@mystile.com>2024-10-09 23:22:35 +0200
committerGitHub <noreply@github.com>2024-10-09 23:22:35 +0200
commita0495fc31497798a7a833ba7406a9729e1528dd8 (patch)
treec9ebc8e92d18e20bbb5f44d0184d00166b63b4df /test/integration/targets/old_style_cache_plugins
parentansible-test - Work around pylint issue on 3.11 (#84094) (diff)
downloadansible-a0495fc31497798a7a833ba7406a9729e1528dd8.tar.xz
ansible-a0495fc31497798a7a833ba7406a9729e1528dd8.zip
Update triple single quotes to triple double quotes (#84099)
* Update triple single quotes to triple double quotes This change was fully automated. The updated Python files have been verified to tokenize the same as the originals, except for the expected change in quoting of strings, which were verified through literal_eval. * Manual conversion of docstring quotes
Diffstat (limited to 'test/integration/targets/old_style_cache_plugins')
-rw-r--r--test/integration/targets/old_style_cache_plugins/plugins/cache/configurable_redis.py4
-rw-r--r--test/integration/targets/old_style_cache_plugins/plugins/cache/legacy_redis.py4
-rw-r--r--test/integration/targets/old_style_cache_plugins/plugins/inventory/test.py4
3 files changed, 6 insertions, 6 deletions
diff --git a/test/integration/targets/old_style_cache_plugins/plugins/cache/configurable_redis.py b/test/integration/targets/old_style_cache_plugins/plugins/cache/configurable_redis.py
index 805cdbafe8..631201ebaa 100644
--- a/test/integration/targets/old_style_cache_plugins/plugins/cache/configurable_redis.py
+++ b/test/integration/targets/old_style_cache_plugins/plugins/cache/configurable_redis.py
@@ -3,7 +3,7 @@
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
from __future__ import annotations
-DOCUMENTATION = '''
+DOCUMENTATION = """
cache: configurable_redis
short_description: Use Redis DB for cache
description:
@@ -38,7 +38,7 @@ DOCUMENTATION = '''
- key: fact_caching_timeout
section: defaults
type: integer
-'''
+"""
import time
import json
diff --git a/test/integration/targets/old_style_cache_plugins/plugins/cache/legacy_redis.py b/test/integration/targets/old_style_cache_plugins/plugins/cache/legacy_redis.py
index 98bd188c24..773d32977e 100644
--- a/test/integration/targets/old_style_cache_plugins/plugins/cache/legacy_redis.py
+++ b/test/integration/targets/old_style_cache_plugins/plugins/cache/legacy_redis.py
@@ -3,7 +3,7 @@
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
from __future__ import annotations
-DOCUMENTATION = '''
+DOCUMENTATION = """
cache: redis
short_description: Use Redis DB for cache
description:
@@ -37,7 +37,7 @@ DOCUMENTATION = '''
- key: fact_caching_timeout
section: defaults
type: integer
-'''
+"""
import time
import json
diff --git a/test/integration/targets/old_style_cache_plugins/plugins/inventory/test.py b/test/integration/targets/old_style_cache_plugins/plugins/inventory/test.py
index 6dd450f2dd..f1edd60e60 100644
--- a/test/integration/targets/old_style_cache_plugins/plugins/inventory/test.py
+++ b/test/integration/targets/old_style_cache_plugins/plugins/inventory/test.py
@@ -3,13 +3,13 @@
from __future__ import annotations
-DOCUMENTATION = '''
+DOCUMENTATION = """
name: test
plugin_type: inventory
short_description: test inventory source
extends_documentation_fragment:
- inventory_cache
-'''
+"""
from ansible.plugins.inventory import BaseInventoryPlugin, Cacheable