moo.shell.tests.test_history
Functions
Entries beyond |
|
Back-to-back identical entries are collapsed to a single entry. |
|
Repeats separated by other entries are kept (only consecutive dedup). |
|
Separate user_pks do not share history. |
|
Empty / whitespace-only strings are never persisted. |
|
load_history_strings() yields stored entries newest-first. |
|
store_string passes the configured ttl through to cache.set. |