change error type
This commit is contained in:
parent
52bef9220d
commit
a74c738976
@ -19,7 +19,7 @@ from reflex.utils import (
|
||||
types,
|
||||
)
|
||||
from reflex.utils import exec as utils_exec
|
||||
from reflex.utils.exceptions import ReflexError
|
||||
from reflex.utils.exceptions import ReflexError, SystemPackageMissingError
|
||||
from reflex.vars.base import Var
|
||||
|
||||
|
||||
@ -503,7 +503,7 @@ def test_bun_install_without_unzip(mocker):
|
||||
mocker.patch("pathlib.Path.exists", return_value=False)
|
||||
mocker.patch("reflex.utils.prerequisites.constants.IS_WINDOWS", False)
|
||||
|
||||
with pytest.raises(FileNotFoundError):
|
||||
with pytest.raises(SystemPackageMissingError):
|
||||
prerequisites.install_bun()
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user