fix more tests
This commit is contained in:
parent
e97c198057
commit
c211d260fd
@ -137,9 +137,8 @@ def test_validate_bun_path_incompatible_version(mocker):
|
||||
Args:
|
||||
mocker: Pytest mocker object.
|
||||
"""
|
||||
mocker.patch(
|
||||
"reflex.utils.path_ops.get_bun_path", return_value=constants.Bun.DEFAULT_PATH
|
||||
)
|
||||
mock_path = mocker.Mock()
|
||||
mocker.patch("reflex.utils.path_ops.get_bun_path", return_value=mock_path)
|
||||
mocker.patch(
|
||||
"reflex.utils.prerequisites.get_bun_version",
|
||||
return_value=version.parse("0.6.5"),
|
||||
|
Loading…
Reference in New Issue
Block a user