fix tests

This commit is contained in:
Lendemor 2025-02-10 17:50:47 +01:00
parent 8e0ec37d7d
commit 4852c46020

View File

@ -140,7 +140,7 @@ def test_validate_invalid_bun_path(mocker):
with pytest.raises(typer.Exit):
prerequisites.validate_bun()
mock_path.samefile.assert_called_once()
mock_path.exists.assert_called_once()
def test_validate_bun_path_incompatible_version(mocker):
@ -159,6 +159,8 @@ def test_validate_bun_path_incompatible_version(mocker):
with pytest.raises(typer.Exit):
prerequisites.validate_bun()
mock_path.exists.assert_called_once()
mock_path.samefile.assert_called_once()
def test_remove_existing_bun_installation(mocker):