mirror of
https://github.com/pi-hole/docker-pi-hole.git
synced 2025-12-24 04:18:43 +00:00
11 lines
355 B
Python
11 lines
355 B
Python
import pytest
|
|
|
|
@pytest.mark.parametrize("test_args", ['-e "PIHOLE_UID=456"'])
|
|
def test_pihole_uid_env_var(docker):
|
|
func = docker.run('id -u pihole')
|
|
assert "456" in func.stdout
|
|
|
|
@pytest.mark.parametrize("test_args", ['-e "PIHOLE_GID=456"'])
|
|
def test_pihole_gid_env_var(docker):
|
|
func = docker.run('id -g pihole')
|
|
assert "456" in func.stdout |