mocker consistency

Co-authored-by: Thomas Brandého <thomas.brandeho@gmail.com>
This commit is contained in:
Khaleel Al-Adhami 2025-02-10 14:25:52 -08:00 committed by GitHub
parent 43e850ee26
commit 0099c8ac5f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1902,7 +1902,7 @@ def test_str_var_in_components(mocker):
mocker.patch(
"reflex.components.base.bare.get_performance_mode",
lambda: PerformanceMode.RAISE,
return_value=PerformanceMode.RAISE,
)
with pytest.raises(ValueError):