<s> import pytest <EOL> from tests . helpers import ui , init_test_room <EOL> def test_linus_sees_quit_begin_and_help_in_menu_but_no_other_commands_before_entering_a_room ( ui ) : <EOL> ui , engine = init_test_room ( ui ) <EOL> ui . say ( "<STR_LIT>" ) <EOL> ui . say ( "<STR_LIT>" ) <EOL> ui . say ( "<STR_LIT:q>" ) <EOL> engine . main_loop ( ) <EOL> assert ui . output_anywhere ( "<STR_LIT>" ) <EOL> assert ui . output_anywhere ( "<STR_LIT>" ) <EOL> assert ui . output_anywhere ( "<STR_LIT>" ) <EOL> assert ui . output_anywhere ( "<STR_LIT>" ) <EOL> assert ui . output_anywhere ( "<STR_LIT>" ) <EOL> assert ui . output_anywhere ( "<STR_LIT>" ) <EOL> assert ui . output_anywhere ( "<STR_LIT>" ) <EOL> assert ui . output_anywhere ( "<STR_LIT>" ) </s>
