mocker consistency
Co-authored-by: Thomas Brandého <thomas.brandeho@gmail.com>
This commit is contained in:
parent
43e850ee26
commit
0099c8ac5f
@ -1902,7 +1902,7 @@ def test_str_var_in_components(mocker):
|
|||||||
|
|
||||||
mocker.patch(
|
mocker.patch(
|
||||||
"reflex.components.base.bare.get_performance_mode",
|
"reflex.components.base.bare.get_performance_mode",
|
||||||
lambda: PerformanceMode.RAISE,
|
return_value=PerformanceMode.RAISE,
|
||||||
)
|
)
|
||||||
|
|
||||||
with pytest.raises(ValueError):
|
with pytest.raises(ValueError):
|
||||||
|
Loading…
Reference in New Issue
Block a user