From 260984950711271676c5312fae68030b5343835a Mon Sep 17 00:00:00 2001 From: grossmj Date: Tue, 23 Apr 2024 18:00:37 +0700 Subject: [PATCH] Fix tests after updating error message when busybox is not installed. --- tests/compute/docker/test_docker.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/compute/docker/test_docker.py b/tests/compute/docker/test_docker.py index 76a30ce5..4b925190 100644 --- a/tests/compute/docker/test_docker.py +++ b/tests/compute/docker/test_docker.py @@ -238,7 +238,7 @@ async def test_install_busybox_dynamic_linked(): with pytest.raises(DockerError) as e: dst_dir = Docker.resources_path() await Docker.install_busybox(dst_dir) - assert str(e.value) == "No busybox executable could be found" + assert str(e.value) == "No busybox executable could be found, please install busybox (apt install busybox-static on Debian/Ubuntu) and make sure it is in your PATH" @pytest.mark.asyncio @@ -249,4 +249,4 @@ async def test_install_busybox_no_executables(): with pytest.raises(DockerError) as e: dst_dir = Docker.resources_path() await Docker.install_busybox(dst_dir) - assert str(e.value) == "No busybox executable could be found" + assert str(e.value) == "No busybox executable could be found, please install busybox (apt install busybox-static on Debian/Ubuntu) and make sure it is in your PATH"