Skip to content

Commit

Permalink
test names should match the regular expression ^[a-z_][a-z0-9_]*$. Ap…
Browse files Browse the repository at this point in the history
…parently

Signed-off-by: Adam Warner <me@adamwarner.co.uk>
  • Loading branch information
PromoFaux committed Jul 24, 2023
1 parent 1202daf commit 4c8f461
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/tests/test_bash_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@


@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


@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"]'
Expand Down

0 comments on commit 4c8f461

Please sign in to comment.