浏览代码

fix redis test

Khaleel Al-Adhami 2 月之前
父节点
当前提交
27493b85aa
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tests/units/test_state_tree.py

+ 1 - 1
tests/units/test_state_tree.py

@@ -374,7 +374,7 @@ async def test_get_state_tree(
     assert sorted(state.substates) == sorted(exp_root_substates)
 
     # Only computed vars should be returned
-    assert state.get_delta() == ALWAYS_COMPUTED_VARS
+    assert state.get_delta().data == ALWAYS_COMPUTED_VARS
 
     # All of TreeA, TreeD, and TreeE substates should be in the dict
     assert sorted(state.dict()) == sorted(exp_root_dict_keys)