Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/certbot/certbot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMads Jensen <mads.jensen@eficode.com>2021-02-26 01:59:00 +0300
committerGitHub <noreply@github.com>2021-02-26 01:59:00 +0300
commit67c2b27af7d7dc04c246be4f9a1d4cd29a3099ca (patch)
tree68109ce37b830ce348f18c89804b9b407e8e9733 /certbot-ci
parent135187f03e18eebcb32b05c4ecb76a4552aed883 (diff)
Stop inheriting from object. It's unneeded on Python 3+. (#8675)
Diffstat (limited to 'certbot-ci')
-rw-r--r--certbot-ci/certbot_integration_tests/certbot_tests/context.py2
-rwxr-xr-xcertbot-ci/certbot_integration_tests/utils/acme_server.py2
-rw-r--r--certbot-ci/certbot_integration_tests/utils/dns_server.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/certbot-ci/certbot_integration_tests/certbot_tests/context.py b/certbot-ci/certbot_integration_tests/certbot_tests/context.py
index b9854b402..b052e375d 100644
--- a/certbot-ci/certbot_integration_tests/certbot_tests/context.py
+++ b/certbot-ci/certbot_integration_tests/certbot_tests/context.py
@@ -7,7 +7,7 @@ import tempfile
from certbot_integration_tests.utils import certbot_call
-class IntegrationTestsContext(object):
+class IntegrationTestsContext:
"""General fixture describing a certbot integration tests context"""
def __init__(self, request):
self.request = request
diff --git a/certbot-ci/certbot_integration_tests/utils/acme_server.py b/certbot-ci/certbot_integration_tests/utils/acme_server.py
index bbbdd196b..846e2d071 100755
--- a/certbot-ci/certbot_integration_tests/utils/acme_server.py
+++ b/certbot-ci/certbot_integration_tests/utils/acme_server.py
@@ -23,7 +23,7 @@ from certbot_integration_tests.utils import proxy
from certbot_integration_tests.utils.constants import *
-class ACMEServer(object):
+class ACMEServer:
"""
ACMEServer configures and handles the lifecycle of an ACME CA server and an HTTP reverse proxy
instance, to allow parallel execution of integration tests against the unique http-01 port
diff --git a/certbot-ci/certbot_integration_tests/utils/dns_server.py b/certbot-ci/certbot_integration_tests/utils/dns_server.py
index 416f6567e..62a58275e 100644
--- a/certbot-ci/certbot_integration_tests/utils/dns_server.py
+++ b/certbot-ci/certbot_integration_tests/utils/dns_server.py
@@ -21,7 +21,7 @@ BIND_BIND_ADDRESS = ("127.0.0.1", 45953)
BIND_TEST_QUERY = bytearray.fromhex("0011cb37000000010000000000000000010003")
-class DNSServer(object):
+class DNSServer:
"""
DNSServer configures and handles the lifetime of an RFC2136-capable server.
DNServer provides access to the dns_xdist parameter, listing the address and port