moo.shell.tests.test_session_commands.test_startup_opens_session_buffer_before_firing_confunc

moo.shell.tests.test_session_commands.test_startup_opens_session_buffer_before_firing_confunc()

Regression: _repl_setup must open the player’s Kombu consumer BEFORE dispatching confunc tasks, otherwise the room’s tell() messages are published to the exchange while no queue exists (queues bind with auto_delete=True) and get silently dropped. Connect-time look_self output would intermittently vanish until the user issued a command that happened to land AFTER process_messages finally opened the consumer.