From cfffaf450315d4d5413065828d8cb8c82812e404 Mon Sep 17 00:00:00 2001 From: Adam Outler Date: Sun, 26 Oct 2025 19:40:17 +0000 Subject: [PATCH] Strengthen tests --- test/docker_tests/test_container_environment.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/docker_tests/test_container_environment.py b/test/docker_tests/test_container_environment.py index 6026bb20..d93ab57d 100644 --- a/test/docker_tests/test_container_environment.py +++ b/test/docker_tests/test_container_environment.py @@ -856,6 +856,7 @@ def test_running_as_uid_1000_warns(tmp_path: pathlib.Path) -> None: volumes, user="1000:1000", ) + _assert_contains(result, "NetAlertX is running as UID", result.args) assert result.returncode != 0 @@ -877,6 +878,7 @@ def test_missing_host_network_warns(tmp_path: pathlib.Path) -> None: volumes, network_mode=None, ) + _assert_contains(result, "not running with --network=host", result.args) assert result.returncode != 0