From cce6f7106ca2da93405e8aae4f4dcca87f7dfce1 Mon Sep 17 00:00:00 2001 From: Sven Lito Date: Fri, 8 Aug 2025 23:47:26 +0700 Subject: [PATCH] style: format test file with black --- tests/test_pip_detection_fix.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_pip_detection_fix.py b/tests/test_pip_detection_fix.py index 266f373..2e4a40d 100644 --- a/tests/test_pip_detection_fix.py +++ b/tests/test_pip_detection_fix.py @@ -40,11 +40,11 @@ class TestPipDetectionFix: """ # Test that the get_venv_python_path function now returns absolute paths content = Path("./run-server.sh").read_text() - + # Check that get_venv_python_path includes our absolute path conversion logic assert "abs_venv_path" in content, "get_venv_python_path should use absolute paths" - assert "cd \"$(dirname" in content, "Should convert to absolute path" - + assert 'cd "$(dirname' in content, "Should convert to absolute path" + # Test successful completion - our fix should make the script more robust result = subprocess.run(["bash", "-n", "./run-server.sh"], capture_output=True, text=True) assert result.returncode == 0, "Script should have valid syntax after our fix"