File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
tests/playwright/shiny/bookmark/dir Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,10 @@ def called_restored():
4242did_save = False
4343did_restore = False
4444
45+ # Note:
46+ # This is a "temp" directory that is only used for testing and is cleaned up on app
47+ # shutdown. This should NOT be standard behavior of a hosting environment. Instead, it
48+ # should have a persistent directory that can be restored over time.
4549bookmark_dir = Path (__file__ ).parent / f"bookmarks-{ rand_hex (8 )} "
4650bookmark_dir .mkdir (exist_ok = True )
4751
Original file line number Diff line number Diff line change @@ -43,6 +43,10 @@ def called_restored():
4343did_save = False
4444did_restore = False
4545
46+ # Note:
47+ # This is a "temp" directory that is only used for testing and is cleaned up on app
48+ # shutdown. This should NOT be standard behavior of a hosting environment. Instead, it
49+ # should have a persistent directory that can be restored over time.
4650bookmark_dir = Path (__file__ ).parent / f"bookmarks-{ rand_hex (8 )} "
4751bookmark_dir .mkdir (exist_ok = True )
4852
You can’t perform that action at this time.
0 commit comments