MCPcopy
hub / github.com/plotly/dash / test_rdps003_memory_reload

Function test_rdps003_memory_reload

tests/integration/renderer/test_persistence.py:161–170  ·  view source on GitHub ↗
(dash_duo)

Source from the content-addressed store, hash-verified

159
160
161def test_rdps003_memory_reload(dash_duo):
162 app = reloadable_app(persistence_type="memory")
163 dash_duo.start_server(app)
164 check_table_names(dash_duo, ["a", "b"])
165 rename_and_hide(dash_duo)
166 check_table_names(dash_duo, [NEW_NAME])
167
168 dash_duo.wait_for_page()
169 # no persistence after reload with persistence_type=memory
170 check_table_names(dash_duo, ["a", "b"])
171
172
173def test_rdps004_show_hide(dash_duo):

Callers

nothing calls this directly

Calls 5

reloadable_appFunction · 0.85
check_table_namesFunction · 0.85
rename_and_hideFunction · 0.85
wait_for_pageMethod · 0.80
start_serverMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…