mirror of
https://github.com/pi-hole/docker-pi-hole.git
synced 2025-12-20 10:28:36 +00:00
Remove volume mount from tests, this causes issues with gravity not being able to read an adlist file symlinked to /dev/null
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
This commit is contained in:
@@ -35,19 +35,14 @@ def run_and_stream_command_output():
|
|||||||
return run_and_stream_command_output_inner
|
return run_and_stream_command_output_inner
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture()
|
|
||||||
def args_volumes():
|
|
||||||
return "-v /dev/null:/etc/pihole/adlists.list"
|
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture()
|
@pytest.fixture()
|
||||||
def args_env():
|
def args_env():
|
||||||
return '-e TZ="Europe/London"'
|
return '-e TZ="Europe/London"'
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture()
|
@pytest.fixture()
|
||||||
def args(args_volumes, args_env):
|
def args(args_env):
|
||||||
return "{} {}".format(args_volumes, args_env)
|
return "{}".format(args_env)
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture()
|
@pytest.fixture()
|
||||||
|
|||||||
Reference in New Issue
Block a user