mirror of
https://github.com/pi-hole/docker-pi-hole.git
synced 2026-04-18 16:07:13 +01:00
test names should match the regular expression ^[a-z_][a-z0-9_]*$. Apparently
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
This commit is contained in:
@@ -6,7 +6,7 @@ CMD_APPLY_FTL_CONFIG_FROM_ENV = ". bash_functions.sh ; apply_FTL_Configs_From_En
|
||||
|
||||
|
||||
@pytest.mark.parametrize("test_args", ['-e "FTLCONF_webserver_port=999"'])
|
||||
def test_FTLCONF_webserver_port(docker):
|
||||
def test_ftlconf_webserver_port(docker):
|
||||
func = docker.run(CMD_APPLY_FTL_CONFIG_FROM_ENV)
|
||||
assert "Applied pihole-FTL setting webserver.port=999" in func.stdout
|
||||
|
||||
@@ -14,7 +14,7 @@ def test_FTLCONF_webserver_port(docker):
|
||||
@pytest.mark.parametrize(
|
||||
"test_args", ['-e "FTLCONF_dns_upstreams=1.1.1.1;8.8.8.8#1234"']
|
||||
)
|
||||
def test_FTLCONF_dns_upstreams(docker):
|
||||
def test_ftlconf_dns_upstreams(docker):
|
||||
func = docker.run(CMD_APPLY_FTL_CONFIG_FROM_ENV)
|
||||
assert (
|
||||
'Applied pihole-FTL setting dns.upstreams=["1.1.1.1","8.8.8.8#1234"]'
|
||||
|
||||
Reference in New Issue
Block a user