from shell import * from shell_Context import * def shell_test_exit_e( ) -> str: c = shell_createContext() c.input = "e" c = shell_processInput(c) if ( c.recentField == "exit" ): return "OK: shell_exit_e" #} return "ERR: shell_exit_e" #} def shell_test_exit_exit( ) -> str: c = shell_createContext() c.input = "exit" c = shell_processInput(c) if ( c.recentField == "exit" ): return "OK: shell_exit_exit" #} return "ERR: shell_exit_exit" #} def shell_test_exit_q( ) -> str: c = shell_createContext() c.input = "q" c = shell_processInput(c) if ( c.recentField == "exit" ): return "OK: shell_exit_q" #} return "ERR: shell_exit_q" #} def shell_test_exit_quit( ) -> str: c = shell_createContext() c.input = "quit" c = shell_processInput(c) if ( c.recentField == "exit" ): return "OK: shell_exit_quit" #} return "ERR: shell_exit_quit" #}