Remove subprocess import and reference in test

This commit is contained in:
Erica Portnoy 2020-02-14 13:58:34 -08:00
parent 8858c67ef3
commit 707511006c
2 changed files with 1 additions and 3 deletions

View file

@ -8,7 +8,6 @@ import fnmatch
import logging
import re
import socket
import subprocess
import time
import six

View file

@ -1790,8 +1790,7 @@ class InstallSslOptionsConfTest(util.ApacheTest):
"Constants.ALL_SSL_OPTIONS_HASHES must be appended with the sha256 "
"hash of {0} when it is updated.".format(one_file))
@mock.patch("certbot_apache._internal.configurator.subprocess.Popen")
def test_openssl_version(self, mock_popen):
def test_openssl_version(self):
some_string_contents = """
SSLOpenSSLConfCmd
OpenSSL configuration command