Compare commits
3 Commits
mutable-va
...
test-refac
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e3ce28e75e | ||
|
|
4147033165 | ||
|
|
2f0b1aa1aa |
@@ -1,6 +1,8 @@
|
|||||||
include LICENSE.txt
|
include LICENSE.txt
|
||||||
include README.rst
|
include README.rst
|
||||||
recursive-include certbot_apache/tests/testdata *
|
recursive-include tests *
|
||||||
include certbot_apache/_internal/centos-options-ssl-apache.conf
|
include certbot_apache/_internal/centos-options-ssl-apache.conf
|
||||||
include certbot_apache/_internal/options-ssl-apache.conf
|
include certbot_apache/_internal/options-ssl-apache.conf
|
||||||
recursive-include certbot_apache/_internal/augeas_lens *.aug
|
recursive-include certbot_apache/_internal/augeas_lens *.aug
|
||||||
|
global-exclude __pycache__
|
||||||
|
global-exclude *.py[cod]
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
"""Certbot Apache Tests"""
|
|
||||||
@@ -8,7 +8,8 @@ import six # pylint: disable=unused-import
|
|||||||
|
|
||||||
from certbot import errors
|
from certbot import errors
|
||||||
from certbot_apache._internal import constants
|
from certbot_apache._internal import constants
|
||||||
from certbot_apache.tests import util
|
|
||||||
|
import util
|
||||||
|
|
||||||
|
|
||||||
class AutoHSTSTest(util.ApacheTest):
|
class AutoHSTSTest(util.ApacheTest):
|
||||||
@@ -7,7 +7,8 @@ from certbot.errors import MisconfigurationError
|
|||||||
from certbot_apache._internal import obj
|
from certbot_apache._internal import obj
|
||||||
from certbot_apache._internal import override_centos
|
from certbot_apache._internal import override_centos
|
||||||
from certbot_apache._internal import parser
|
from certbot_apache._internal import parser
|
||||||
from certbot_apache.tests import util
|
|
||||||
|
import util
|
||||||
|
|
||||||
|
|
||||||
def get_vh_truth(temp_dir, config_name):
|
def get_vh_truth(temp_dir, config_name):
|
||||||
@@ -9,7 +9,8 @@ from certbot.compat import os
|
|||||||
|
|
||||||
from certbot_apache._internal import obj
|
from certbot_apache._internal import obj
|
||||||
from certbot_apache._internal import override_centos
|
from certbot_apache._internal import override_centos
|
||||||
from certbot_apache.tests import util
|
|
||||||
|
import util
|
||||||
|
|
||||||
|
|
||||||
def get_vh_truth(temp_dir, config_name):
|
def get_vh_truth(temp_dir, config_name):
|
||||||
@@ -5,7 +5,7 @@ import unittest
|
|||||||
from certbot import errors
|
from certbot import errors
|
||||||
from certbot.compat import os
|
from certbot.compat import os
|
||||||
|
|
||||||
from certbot_apache.tests import util
|
import util
|
||||||
|
|
||||||
|
|
||||||
class ComplexParserTest(util.ParserTest):
|
class ComplexParserTest(util.ParserTest):
|
||||||
@@ -6,7 +6,7 @@ import mock
|
|||||||
|
|
||||||
from certbot import errors
|
from certbot import errors
|
||||||
|
|
||||||
from certbot_apache.tests import util
|
import util
|
||||||
|
|
||||||
|
|
||||||
class ConfiguratorReverterTest(util.ApacheTest):
|
class ConfiguratorReverterTest(util.ApacheTest):
|
||||||
@@ -24,7 +24,8 @@ from certbot_apache._internal import apache_util
|
|||||||
from certbot_apache._internal import constants
|
from certbot_apache._internal import constants
|
||||||
from certbot_apache._internal import obj
|
from certbot_apache._internal import obj
|
||||||
from certbot_apache._internal import parser
|
from certbot_apache._internal import parser
|
||||||
from certbot_apache.tests import util
|
|
||||||
|
import util
|
||||||
|
|
||||||
|
|
||||||
class MultipleVhostsTest(util.ApacheTest):
|
class MultipleVhostsTest(util.ApacheTest):
|
||||||
@@ -9,7 +9,8 @@ from certbot.compat import os
|
|||||||
|
|
||||||
from certbot_apache._internal import apache_util
|
from certbot_apache._internal import apache_util
|
||||||
from certbot_apache._internal import obj
|
from certbot_apache._internal import obj
|
||||||
from certbot_apache.tests import util
|
|
||||||
|
import util
|
||||||
|
|
||||||
|
|
||||||
class MultipleVhostsTestDebian(util.ApacheTest):
|
class MultipleVhostsTestDebian(util.ApacheTest):
|
||||||
@@ -12,7 +12,8 @@ from certbot.tests import util as certbot_util
|
|||||||
from certbot_apache._internal import obj
|
from certbot_apache._internal import obj
|
||||||
|
|
||||||
from certbot_apache._internal.display_ops import select_vhost_multiple
|
from certbot_apache._internal.display_ops import select_vhost_multiple
|
||||||
from certbot_apache.tests import util
|
|
||||||
|
import util
|
||||||
|
|
||||||
|
|
||||||
class SelectVhostMultiTest(unittest.TestCase):
|
class SelectVhostMultiTest(unittest.TestCase):
|
||||||
@@ -9,7 +9,8 @@ from certbot.compat import os
|
|||||||
|
|
||||||
from certbot_apache._internal import obj
|
from certbot_apache._internal import obj
|
||||||
from certbot_apache._internal import override_fedora
|
from certbot_apache._internal import override_fedora
|
||||||
from certbot_apache.tests import util
|
|
||||||
|
import util
|
||||||
|
|
||||||
|
|
||||||
def get_vh_truth(temp_dir, config_name):
|
def get_vh_truth(temp_dir, config_name):
|
||||||
@@ -9,7 +9,8 @@ from certbot.compat import os
|
|||||||
|
|
||||||
from certbot_apache._internal import obj
|
from certbot_apache._internal import obj
|
||||||
from certbot_apache._internal import override_gentoo
|
from certbot_apache._internal import override_gentoo
|
||||||
from certbot_apache.tests import util
|
|
||||||
|
import util
|
||||||
|
|
||||||
|
|
||||||
def get_vh_truth(temp_dir, config_name):
|
def get_vh_truth(temp_dir, config_name):
|
||||||
@@ -12,7 +12,8 @@ from certbot.compat import os
|
|||||||
from certbot.tests import acme_util
|
from certbot.tests import acme_util
|
||||||
|
|
||||||
from certbot_apache._internal.parser import get_aug_path
|
from certbot_apache._internal.parser import get_aug_path
|
||||||
from certbot_apache.tests import util
|
|
||||||
|
import util
|
||||||
|
|
||||||
|
|
||||||
NUM_ACHALLS = 3
|
NUM_ACHALLS = 3
|
||||||
@@ -7,7 +7,7 @@ import mock
|
|||||||
from certbot import errors
|
from certbot import errors
|
||||||
from certbot.compat import os
|
from certbot.compat import os
|
||||||
|
|
||||||
from certbot_apache.tests import util
|
import util
|
||||||
|
|
||||||
|
|
||||||
class BasicParserTest(util.ParserTest):
|
class BasicParserTest(util.ParserTest):
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user