mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Code style adjustment. (#49329)
This commit is contained in:
parent
2e8f166b8a
commit
3726d467ec
2 changed files with 7 additions and 7 deletions
|
@ -167,7 +167,7 @@ options:
|
|||
version_added: 2.6
|
||||
'''
|
||||
|
||||
EXAMPLES = R'''
|
||||
EXAMPLES = r'''
|
||||
### Example with HTTP challenge ###
|
||||
|
||||
- name: Create a challenge for sample.com using a account key from a variable.
|
||||
|
|
|
@ -36,7 +36,7 @@ def test_nopad_b64(value, result):
|
|||
|
||||
################################################
|
||||
|
||||
TEST_TEXT = R"""1234
|
||||
TEST_TEXT = r"""1234
|
||||
5678"""
|
||||
|
||||
|
||||
|
@ -58,7 +58,7 @@ def test_write_file(tmpdir):
|
|||
|
||||
TEST_PEM_DERS = [
|
||||
(
|
||||
R"""
|
||||
r"""
|
||||
-----BEGIN EC PRIVATE KEY-----
|
||||
MHcCAQEEIDWajU0PyhYKeulfy/luNtkAve7DkwQ01bXJ97zbxB66oAoGCCqGSM49
|
||||
AwEHoUQDQgAEAJz0yAAXAwEmOhTRkjXxwgedbWO6gobYM3lWszrS68G8QSzhXR6A
|
||||
|
@ -83,7 +83,7 @@ def test_pem_to_der(pem, der, tmpdir):
|
|||
|
||||
TEST_KEYS = [
|
||||
(
|
||||
R"""
|
||||
r"""
|
||||
-----BEGIN EC PRIVATE KEY-----
|
||||
MHcCAQEEIDWajU0PyhYKeulfy/luNtkAve7DkwQ01bXJ97zbxB66oAoGCCqGSM49
|
||||
AwEHoUQDQgAEAJz0yAAXAwEmOhTRkjXxwgedbWO6gobYM3lWszrS68G8QSzhXR6A
|
||||
|
@ -102,7 +102,7 @@ mQ3IzZDimnTTXO7XhVylDT8SLzE44/Epmw==
|
|||
'point_size': 32,
|
||||
'type': 'ec',
|
||||
},
|
||||
R"""
|
||||
r"""
|
||||
read EC key
|
||||
Private-Key: (256 bit)
|
||||
priv:
|
||||
|
@ -146,7 +146,7 @@ if HAS_CURRENT_CRYPTOGRAPHY:
|
|||
|
||||
################################################
|
||||
|
||||
TEST_CSR = R"""
|
||||
TEST_CSR = r"""
|
||||
-----BEGIN NEW CERTIFICATE REQUEST-----
|
||||
MIIBJTCBzQIBADAWMRQwEgYDVQQDEwthbnNpYmxlLmNvbTBZMBMGByqGSM49AgEG
|
||||
CCqGSM49AwEHA0IABACc9MgAFwMBJjoU0ZI18cIHnW1juoKG2DN5VrM60uvBvEEs
|
||||
|
@ -170,7 +170,7 @@ if HAS_CURRENT_CRYPTOGRAPHY:
|
|||
|
||||
################################################
|
||||
|
||||
TEST_CERT = R"""
|
||||
TEST_CERT = r"""
|
||||
-----BEGIN CERTIFICATE-----
|
||||
MIIBljCCATugAwIBAgIBATAKBggqhkjOPQQDAjAWMRQwEgYDVQQDEwthbnNpYmxl
|
||||
LmNvbTAeFw0xODExMjUxNTI4MjNaFw0xODExMjYxNTI4MjRaMBYxFDASBgNVBAMT
|
||||
|
|
Loading…
Reference in a new issue