summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/module_defaults
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/module_defaults
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/module_defaults')
-rw-r--r--test/integration/targets/module_defaults/action_plugins/debug.py2
-rw-r--r--test/integration/targets/module_defaults/collections/ansible_collections/testns/testcoll/plugins/modules/eosfacts.py8
-rw-r--r--test/integration/targets/module_defaults/collections/ansible_collections/testns/testcoll/plugins/modules/ios_facts.py8
-rw-r--r--test/integration/targets/module_defaults/collections/ansible_collections/testns/testcoll/plugins/modules/metadata.py12
-rw-r--r--test/integration/targets/module_defaults/collections/ansible_collections/testns/testcoll/plugins/modules/module.py8
-rw-r--r--test/integration/targets/module_defaults/collections/ansible_collections/testns/testcoll/plugins/modules/ping.py12
-rw-r--r--test/integration/targets/module_defaults/collections/ansible_collections/testns/testcoll/plugins/modules/vyosfacts.py8
-rw-r--r--test/integration/targets/module_defaults/library/legacy_ping.py12
8 files changed, 35 insertions, 35 deletions
diff --git a/test/integration/targets/module_defaults/action_plugins/debug.py b/test/integration/targets/module_defaults/action_plugins/debug.py
index 63c0779b13..942aa6dab2 100644
--- a/test/integration/targets/module_defaults/action_plugins/debug.py
+++ b/test/integration/targets/module_defaults/action_plugins/debug.py
@@ -24,7 +24,7 @@ from ansible.plugins.action import ActionBase
class ActionModule(ActionBase):
- ''' Print statements during execution '''
+ """ Print statements during execution """
TRANSFERS_FILES = False
_VALID_ARGS = frozenset(('msg', 'var', 'verbosity'))
diff --git a/test/integration/targets/module_defaults/collections/ansible_collections/testns/testcoll/plugins/modules/eosfacts.py b/test/integration/targets/module_defaults/collections/ansible_collections/testns/testcoll/plugins/modules/eosfacts.py
index 546205b1c9..632f3bb529 100644
--- a/test/integration/targets/module_defaults/collections/ansible_collections/testns/testcoll/plugins/modules/eosfacts.py
+++ b/test/integration/targets/module_defaults/collections/ansible_collections/testns/testcoll/plugins/modules/eosfacts.py
@@ -6,16 +6,16 @@
from __future__ import annotations
-DOCUMENTATION = r'''
+DOCUMENTATION = r"""
---
module: eosfacts
short_description: module to test module_defaults
description: module to test module_defaults
version_added: '2.13'
-'''
+"""
-EXAMPLES = r'''
-'''
+EXAMPLES = r"""
+"""
from ansible.module_utils.basic import AnsibleModule
diff --git a/test/integration/targets/module_defaults/collections/ansible_collections/testns/testcoll/plugins/modules/ios_facts.py b/test/integration/targets/module_defaults/collections/ansible_collections/testns/testcoll/plugins/modules/ios_facts.py
index 2e230ec533..4d587c59a9 100644
--- a/test/integration/targets/module_defaults/collections/ansible_collections/testns/testcoll/plugins/modules/ios_facts.py
+++ b/test/integration/targets/module_defaults/collections/ansible_collections/testns/testcoll/plugins/modules/ios_facts.py
@@ -6,16 +6,16 @@
from __future__ import annotations
-DOCUMENTATION = r'''
+DOCUMENTATION = r"""
---
module: ios_facts
short_description: module to test module_defaults
description: module to test module_defaults
version_added: '2.13'
-'''
+"""
-EXAMPLES = r'''
-'''
+EXAMPLES = r"""
+"""
from ansible.module_utils.basic import AnsibleModule
diff --git a/test/integration/targets/module_defaults/collections/ansible_collections/testns/testcoll/plugins/modules/metadata.py b/test/integration/targets/module_defaults/collections/ansible_collections/testns/testcoll/plugins/modules/metadata.py
index 439b415578..81a7f626b8 100644
--- a/test/integration/targets/module_defaults/collections/ansible_collections/testns/testcoll/plugins/modules/metadata.py
+++ b/test/integration/targets/module_defaults/collections/ansible_collections/testns/testcoll/plugins/modules/metadata.py
@@ -6,7 +6,7 @@
from __future__ import annotations
-DOCUMENTATION = '''
+DOCUMENTATION = """
---
module: metadata
version_added: 2.12
@@ -19,13 +19,13 @@ options:
type: str
author:
- Ansible Core Team
-'''
+"""
-EXAMPLES = '''
-'''
+EXAMPLES = """
+"""
-RETURN = '''
-'''
+RETURN = """
+"""
from ansible.module_utils.basic import AnsibleModule
diff --git a/test/integration/targets/module_defaults/collections/ansible_collections/testns/testcoll/plugins/modules/module.py b/test/integration/targets/module_defaults/collections/ansible_collections/testns/testcoll/plugins/modules/module.py
index f7a1932d7c..710cd23672 100644
--- a/test/integration/targets/module_defaults/collections/ansible_collections/testns/testcoll/plugins/modules/module.py
+++ b/test/integration/targets/module_defaults/collections/ansible_collections/testns/testcoll/plugins/modules/module.py
@@ -6,16 +6,16 @@
from __future__ import annotations
-DOCUMENTATION = r'''
+DOCUMENTATION = r"""
---
module: module
short_description: module to test module_defaults
description: module to test module_defaults
version_added: '2.13'
-'''
+"""
-EXAMPLES = r'''
-'''
+EXAMPLES = r"""
+"""
from ansible.module_utils.basic import AnsibleModule
diff --git a/test/integration/targets/module_defaults/collections/ansible_collections/testns/testcoll/plugins/modules/ping.py b/test/integration/targets/module_defaults/collections/ansible_collections/testns/testcoll/plugins/modules/ping.py
index b54b701d57..33c282b888 100644
--- a/test/integration/targets/module_defaults/collections/ansible_collections/testns/testcoll/plugins/modules/ping.py
+++ b/test/integration/targets/module_defaults/collections/ansible_collections/testns/testcoll/plugins/modules/ping.py
@@ -8,7 +8,7 @@
from __future__ import annotations
-DOCUMENTATION = '''
+DOCUMENTATION = """
---
module: ping
version_added: historical
@@ -35,9 +35,9 @@ author:
- Michael DeHaan
notes:
- Supports C(check_mode).
-'''
+"""
-EXAMPLES = '''
+EXAMPLES = """
# Test we can logon to 'webservers' and execute python with json lib.
# ansible webservers -m ping
@@ -47,15 +47,15 @@ EXAMPLES = '''
- name: Induce an exception to see what happens
ansible.builtin.ping:
data: crash
-'''
+"""
-RETURN = '''
+RETURN = """
ping:
description: Value provided with the data parameter.
returned: success
type: str
sample: pong
-'''
+"""
from ansible.module_utils.basic import AnsibleModule
diff --git a/test/integration/targets/module_defaults/collections/ansible_collections/testns/testcoll/plugins/modules/vyosfacts.py b/test/integration/targets/module_defaults/collections/ansible_collections/testns/testcoll/plugins/modules/vyosfacts.py
index 7af1c6bdc0..dc3528ed8c 100644
--- a/test/integration/targets/module_defaults/collections/ansible_collections/testns/testcoll/plugins/modules/vyosfacts.py
+++ b/test/integration/targets/module_defaults/collections/ansible_collections/testns/testcoll/plugins/modules/vyosfacts.py
@@ -6,16 +6,16 @@
from __future__ import annotations
-DOCUMENTATION = r'''
+DOCUMENTATION = r"""
---
module: vyosfacts
short_description: module to test module_defaults
description: module to test module_defaults
version_added: '2.13'
-'''
+"""
-EXAMPLES = r'''
-'''
+EXAMPLES = r"""
+"""
from ansible.module_utils.basic import AnsibleModule
diff --git a/test/integration/targets/module_defaults/library/legacy_ping.py b/test/integration/targets/module_defaults/library/legacy_ping.py
index b54b701d57..33c282b888 100644
--- a/test/integration/targets/module_defaults/library/legacy_ping.py
+++ b/test/integration/targets/module_defaults/library/legacy_ping.py
@@ -8,7 +8,7 @@
from __future__ import annotations
-DOCUMENTATION = '''
+DOCUMENTATION = """
---
module: ping
version_added: historical
@@ -35,9 +35,9 @@ author:
- Michael DeHaan
notes:
- Supports C(check_mode).
-'''
+"""
-EXAMPLES = '''
+EXAMPLES = """
# Test we can logon to 'webservers' and execute python with json lib.
# ansible webservers -m ping
@@ -47,15 +47,15 @@ EXAMPLES = '''
- name: Induce an exception to see what happens
ansible.builtin.ping:
data: crash
-'''
+"""
-RETURN = '''
+RETURN = """
ping:
description: Value provided with the data parameter.
returned: success
type: str
sample: pong
-'''
+"""
from ansible.module_utils.basic import AnsibleModule