black formatted some tests

Signed-off-by: Adam Warner <me@adamwarner.co.uk>
This commit is contained in:
Adam Warner 2023-07-26 22:35:21 +01:00
parent fa2eb0d2f5
commit b56b8d03c4
No known key found for this signature in database
1 changed files with 5 additions and 3 deletions

View File

@ -1,11 +1,13 @@
import pytest
@pytest.mark.parametrize("test_args", ['-e "PIHOLE_UID=456"'])
def test_pihole_uid_env_var(docker):
func = docker.run('id -u pihole')
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
func = docker.run("id -g pihole")
assert "456" in func.stdout