From 0099c8ac5f0286533a271a20c57f7679289f6e02 Mon Sep 17 00:00:00 2001 From: Khaleel Al-Adhami Date: Mon, 10 Feb 2025 14:25:52 -0800 Subject: [PATCH] mocker consistency MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Thomas Brandého --- tests/units/test_var.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/units/test_var.py b/tests/units/test_var.py index 5ea804e74..dedadc802 100644 --- a/tests/units/test_var.py +++ b/tests/units/test_var.py @@ -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):