mirror of
https://github.com/certbot/certbot.git
synced 2026-07-26 07:39:52 +02:00
make tests internal (#9638)
This is the certbot-nginx version of #9625.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
include LICENSE.txt
|
||||
include README.rst
|
||||
recursive-include tests *
|
||||
recursive-include certbot_nginx/_internal/tls_configs *.conf
|
||||
recursive-include certbot_nginx/_internal/tests/testdata *
|
||||
include certbot_nginx/py.typed
|
||||
global-exclude __pycache__
|
||||
global-exclude *.py[cod]
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
"""certbot-nginx tests"""
|
||||
+1
-1
@@ -17,7 +17,7 @@ from certbot_nginx._internal import obj
|
||||
from certbot_nginx._internal import parser
|
||||
from certbot_nginx._internal.configurator import _redirect_block_for_domain
|
||||
from certbot_nginx._internal.nginxparser import UnspacedList
|
||||
import test_util as util
|
||||
from certbot_nginx._internal.tests import test_util as util
|
||||
|
||||
|
||||
class NginxConfiguratorTest(util.NginxTest):
|
||||
+1
-1
@@ -8,7 +8,7 @@ from certbot.display import util as display_util
|
||||
from certbot.tests import util as certbot_util
|
||||
from certbot_nginx._internal import parser
|
||||
from certbot_nginx._internal.display_ops import select_vhost_multiple
|
||||
import test_util as util
|
||||
from certbot_nginx._internal.tests import test_util as util
|
||||
|
||||
|
||||
class SelectVhostMultiTest(util.NginxTest):
|
||||
+1
-1
@@ -11,7 +11,7 @@ from certbot import achallenges
|
||||
from certbot.tests import acme_util
|
||||
from certbot.tests import util as test_util
|
||||
from certbot_nginx._internal.obj import Addr
|
||||
import test_util as util
|
||||
from certbot_nginx._internal.tests import test_util as util
|
||||
|
||||
AUTH_KEY = jose.JWKRSA.load(test_util.load_vector("rsa512_key.pem"))
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@ from certbot_nginx._internal.nginxparser import load
|
||||
from certbot_nginx._internal.nginxparser import loads
|
||||
from certbot_nginx._internal.nginxparser import RawNginxParser
|
||||
from certbot_nginx._internal.nginxparser import UnspacedList
|
||||
import test_util as util
|
||||
from certbot_nginx._internal.tests import test_util as util
|
||||
|
||||
FIRST = operator.itemgetter(0)
|
||||
|
||||
+1
-1
@@ -12,7 +12,7 @@ from certbot.compat import os
|
||||
from certbot_nginx._internal import nginxparser
|
||||
from certbot_nginx._internal import obj
|
||||
from certbot_nginx._internal import parser
|
||||
import test_util as util
|
||||
from certbot_nginx._internal.tests import test_util as util
|
||||
|
||||
|
||||
class NginxParserTest(util.NginxTest):
|
||||
Reference in New Issue
Block a user