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:
|
Args:
|
||||||
mocker: Pytest mocker object.
|
mocker: Pytest mocker object.
|
||||||
"""
|
"""
|
||||||
mocker.patch(
|
mock_path = mocker.Mock()
|
||||||
"reflex.utils.path_ops.get_bun_path", return_value=constants.Bun.DEFAULT_PATH
|
mocker.patch("reflex.utils.path_ops.get_bun_path", return_value=mock_path)
|
||||||
)
|
|
||||||
mocker.patch(
|
mocker.patch(
|
||||||
"reflex.utils.prerequisites.get_bun_version",
|
"reflex.utils.prerequisites.get_bun_version",
|
||||||
return_value=version.parse("0.6.5"),
|
return_value=version.parse("0.6.5"),
|
||||||
|
Loading…
Reference in New Issue
Block a user