Code style adjustment. (#49329)

pull/49331/head
Felix Fontein 6 years ago committed by Sviatoslav Sydorenko
parent 2e8f166b8a
commit 3726d467ec

@ -167,7 +167,7 @@ options:
version_added: 2.6 version_added: 2.6
''' '''
EXAMPLES = R''' EXAMPLES = r'''
### Example with HTTP challenge ### ### Example with HTTP challenge ###
- name: Create a challenge for sample.com using a account key from a variable. - 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""" 5678"""
@ -58,7 +58,7 @@ def test_write_file(tmpdir):
TEST_PEM_DERS = [ TEST_PEM_DERS = [
( (
R""" r"""
-----BEGIN EC PRIVATE KEY----- -----BEGIN EC PRIVATE KEY-----
MHcCAQEEIDWajU0PyhYKeulfy/luNtkAve7DkwQ01bXJ97zbxB66oAoGCCqGSM49 MHcCAQEEIDWajU0PyhYKeulfy/luNtkAve7DkwQ01bXJ97zbxB66oAoGCCqGSM49
AwEHoUQDQgAEAJz0yAAXAwEmOhTRkjXxwgedbWO6gobYM3lWszrS68G8QSzhXR6A AwEHoUQDQgAEAJz0yAAXAwEmOhTRkjXxwgedbWO6gobYM3lWszrS68G8QSzhXR6A
@ -83,7 +83,7 @@ def test_pem_to_der(pem, der, tmpdir):
TEST_KEYS = [ TEST_KEYS = [
( (
R""" r"""
-----BEGIN EC PRIVATE KEY----- -----BEGIN EC PRIVATE KEY-----
MHcCAQEEIDWajU0PyhYKeulfy/luNtkAve7DkwQ01bXJ97zbxB66oAoGCCqGSM49 MHcCAQEEIDWajU0PyhYKeulfy/luNtkAve7DkwQ01bXJ97zbxB66oAoGCCqGSM49
AwEHoUQDQgAEAJz0yAAXAwEmOhTRkjXxwgedbWO6gobYM3lWszrS68G8QSzhXR6A AwEHoUQDQgAEAJz0yAAXAwEmOhTRkjXxwgedbWO6gobYM3lWszrS68G8QSzhXR6A
@ -102,7 +102,7 @@ mQ3IzZDimnTTXO7XhVylDT8SLzE44/Epmw==
'point_size': 32, 'point_size': 32,
'type': 'ec', 'type': 'ec',
}, },
R""" r"""
read EC key read EC key
Private-Key: (256 bit) Private-Key: (256 bit)
priv: priv:
@ -146,7 +146,7 @@ if HAS_CURRENT_CRYPTOGRAPHY:
################################################ ################################################
TEST_CSR = R""" TEST_CSR = r"""
-----BEGIN NEW CERTIFICATE REQUEST----- -----BEGIN NEW CERTIFICATE REQUEST-----
MIIBJTCBzQIBADAWMRQwEgYDVQQDEwthbnNpYmxlLmNvbTBZMBMGByqGSM49AgEG MIIBJTCBzQIBADAWMRQwEgYDVQQDEwthbnNpYmxlLmNvbTBZMBMGByqGSM49AgEG
CCqGSM49AwEHA0IABACc9MgAFwMBJjoU0ZI18cIHnW1juoKG2DN5VrM60uvBvEEs CCqGSM49AwEHA0IABACc9MgAFwMBJjoU0ZI18cIHnW1juoKG2DN5VrM60uvBvEEs
@ -170,7 +170,7 @@ if HAS_CURRENT_CRYPTOGRAPHY:
################################################ ################################################
TEST_CERT = R""" TEST_CERT = r"""
-----BEGIN CERTIFICATE----- -----BEGIN CERTIFICATE-----
MIIBljCCATugAwIBAgIBATAKBggqhkjOPQQDAjAWMRQwEgYDVQQDEwthbnNpYmxl MIIBljCCATugAwIBAgIBATAKBggqhkjOPQQDAjAWMRQwEgYDVQQDEwthbnNpYmxl
LmNvbTAeFw0xODExMjUxNTI4MjNaFw0xODExMjYxNTI4MjRaMBYxFDASBgNVBAMT LmNvbTAeFw0xODExMjUxNTI4MjNaFw0xODExMjYxNTI4MjRaMBYxFDASBgNVBAMT

Loading…
Cancel
Save