mirror of
https://github.com/certbot/certbot.git
synced 2026-06-05 06:42:10 -04:00
six.moves server fixes
This commit is contained in:
parent
6c26c8000f
commit
2c22318eb2
3 changed files with 4 additions and 4 deletions
|
|
@ -4,10 +4,12 @@ or outside during setup/teardown of the integration tests environment.
|
|||
"""
|
||||
import contextlib
|
||||
import errno
|
||||
import http.server as SimpleHTTPServer
|
||||
import multiprocessing
|
||||
import os
|
||||
import re
|
||||
import shutil
|
||||
import socketserver
|
||||
import stat
|
||||
import sys
|
||||
import tempfile
|
||||
|
|
@ -23,8 +25,6 @@ from cryptography.x509 import load_pem_x509_certificate
|
|||
from OpenSSL import crypto
|
||||
import pkg_resources
|
||||
import requests
|
||||
from six.moves import SimpleHTTPServer
|
||||
from six.moves import socketserver
|
||||
|
||||
from certbot_integration_tests.utils.constants import \
|
||||
PEBBLE_ALTERNATE_ROOTS, PEBBLE_MANAGEMENT_URL
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@ This runnable module interfaces itself with the Pebble management interface in o
|
|||
to serve a mock OCSP responder during integration tests against Pebble.
|
||||
"""
|
||||
import datetime
|
||||
import http.server as BaseHTTPServer
|
||||
import re
|
||||
|
||||
from cryptography import x509
|
||||
|
|
@ -13,7 +14,6 @@ from cryptography.hazmat.primitives import serialization
|
|||
from cryptography.x509 import ocsp
|
||||
from dateutil import parser
|
||||
import requests
|
||||
from six.moves import BaseHTTPServer
|
||||
|
||||
from certbot_integration_tests.utils.constants import MOCK_OCSP_SERVER_PORT
|
||||
from certbot_integration_tests.utils.constants import PEBBLE_MANAGEMENT_URL
|
||||
|
|
|
|||
|
|
@ -1,12 +1,12 @@
|
|||
#!/usr/bin/env python
|
||||
# pylint: disable=missing-module-docstring
|
||||
|
||||
import http.server as BaseHTTPServer
|
||||
import json
|
||||
import re
|
||||
import sys
|
||||
|
||||
import requests
|
||||
from six.moves import BaseHTTPServer
|
||||
|
||||
from certbot_integration_tests.utils.misc import GracefulTCPServer
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue