MCPcopy
hub / github.com/reflex-dev/reflex / assert_set_dirty

Function assert_set_dirty

tests/units/test_state.py:2929–2932  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2927 assert not mutable_state.dirty_vars
2928
2929 def assert_set_dirty():
2930 assert mutable_state.dirty_vars == {"test_set"}
2931 mutable_state._clean()
2932 assert not mutable_state.dirty_vars
2933
2934 # Test all set operations
2935 mutable_state.test_set.add(42)

Callers 1

test_mutable_setFunction · 0.85

Calls 1

_cleanMethod · 0.45

Tested by

no test coverage detected