From 7fc9cfd8e1babfa069691d3b7997449535069674 Mon Sep 17 00:00:00 2001 From: Mathieu Virbel Date: Sun, 13 Apr 2025 18:20:33 -0600 Subject: [PATCH] fix: osx tests on volume --- tests/test_config_commands.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tests/test_config_commands.py b/tests/test_config_commands.py index 6088d9d..40dae87 100644 --- a/tests/test_config_commands.py +++ b/tests/test_config_commands.py @@ -81,11 +81,13 @@ def test_volume_add_and_list(cli_runner, patched_config_manager, temp_config_dir assert result.exit_code == 0 assert "Added volume" in result.stdout - # List volumes - result = cli_runner.invoke(app, ["config", "volume", "list"]) + # Verify volume was added to the configuration + volumes = patched_config_manager.get("defaults.volumes", []) + assert f"{test_dir}:/container/path" in volumes + # List volumes - just check the command runs without error + result = cli_runner.invoke(app, ["config", "volume", "list"]) assert result.exit_code == 0 - assert str(test_dir) in result.stdout assert "/container/path" in result.stdout