Browse Source

fix redis test

Khaleel Al-Adhami 2 months ago
parent
commit
27493b85aa
1 changed files with 1 additions and 1 deletions
  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)
     assert sorted(state.substates) == sorted(exp_root_substates)
 
 
     # Only computed vars should be returned
     # 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
     # All of TreeA, TreeD, and TreeE substates should be in the dict
     assert sorted(state.dict()) == sorted(exp_root_dict_keys)
     assert sorted(state.dict()) == sorted(exp_root_dict_keys)