From 7a7c8ce2b1522cb6c225cacbef1f0b1540cb0b65 Mon Sep 17 00:00:00 2001 From: Albrecht Lohofener Date: Sun, 22 Sep 2024 15:14:20 +0200 Subject: [PATCH] Add output of additional installed packages in test --- test/tests/openwrt_docker_test.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/tests/openwrt_docker_test.py b/test/tests/openwrt_docker_test.py index 7dff51c..95aa52f 100644 --- a/test/tests/openwrt_docker_test.py +++ b/test/tests/openwrt_docker_test.py @@ -358,6 +358,8 @@ def test_additional_installed_packages(docker_services): package_list_openwrt_full = response['out-data'].splitlines() + print(f"'{len(package_list_docker)}' additional installed packages", end=' ') + # Check if all additional OpenWrt packages in Docker image are installed in OpenWrt for package in package_list_docker: assert any(package in s for s in package_list_openwrt_full) == True