diff --git a/test/tests/test_bash_functions.py b/test/tests/test_bash_functions.py index c9917f5..a3c1fd6 100644 --- a/test/tests/test_bash_functions.py +++ b/test/tests/test_bash_functions.py @@ -5,14 +5,14 @@ import re CMD_APPLY_FTL_CONFIG_FROM_ENV = ". bash_functions.sh ; apply_FTL_Configs_From_Env" -@pytest.mark.parametrize("test_args", ['-e "FTLCONF_webserver_port=999"']) +@pytest.mark.parametrize("test_args", ['-e "FTLCONF_webserver.port=999"']) 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 @pytest.mark.parametrize( - "test_args", ['-e "FTLCONF_dns_upstreams=1.1.1.1;8.8.8.8#1234"'] + "test_args", ['-e "FTLCONF_dns.upstreams=1.1.1.1;8.8.8.8#1234"'] ) def test_ftlconf_dns_upstreams(docker): func = docker.run(CMD_APPLY_FTL_CONFIG_FROM_ENV)