moo.shell.tests.test_editor.test_run_editor_save_flow

moo.shell.tests.test_editor.test_run_editor_save_flow()

Ctrl+S then Y saves the buffer and returns the initial text.