From 5051cec69eb2e42748cfe299d8e14524292d79b6 Mon Sep 17 00:00:00 2001 From: Lendemor Date: Mon, 27 Jan 2025 21:37:03 +0100 Subject: [PATCH] fix varop tests --- tests/integration/test_var_operations.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/test_var_operations.py b/tests/integration/test_var_operations.py index 5b8440d8c..dfe20a293 100644 --- a/tests/integration/test_var_operations.py +++ b/tests/integration/test_var_operations.py @@ -17,7 +17,7 @@ def VarOperations(): from reflex.vars.sequence import ArrayVar class Object(rx.Base): - str_: str = "hello" + name: str = "hello" class VarOperationState(rx.State): int_var1: int = 10 @@ -28,7 +28,7 @@ def VarOperations(): list1: List = [1, 2] list2: List = [3, 4] list3: List = ["first", "second", "third"] - list4: List = [Object(str_="obj_1"), Object(str_="obj_2")] + list4: List = [Object(name="obj_1"), Object(name="obj_2")] str_var1: str = "first" str_var2: str = "second" str_var3: str = "ThIrD"