disabled real adlists by default
This commit is contained in:
parent
136f43a995
commit
9f20dcc708
|
@ -10,7 +10,7 @@ check_output = testinfra.get_backend(
|
||||||
def DockerGeneric(request, args, image, cmd):
|
def DockerGeneric(request, args, image, cmd):
|
||||||
assert 'docker' in check_output('id'), "Are you in the docker group?"
|
assert 'docker' in check_output('id'), "Are you in the docker group?"
|
||||||
if 'diginc/pi-hole' in image:
|
if 'diginc/pi-hole' in image:
|
||||||
args += " -e PYTEST=\"True\""
|
args += " -v /dev/null:/etc/pihole/adlists.default -e PYTEST=\"True\""
|
||||||
docker_run = "docker run -d {} {} {}".format(args, image, cmd)
|
docker_run = "docker run -d {} {} {}".format(args, image, cmd)
|
||||||
docker_id = check_output(docker_run)
|
docker_id = check_output(docker_run)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue