moo.shell.tests.test_paginator

Functions

test_open_paginator_invalid_content_type_raises(...)

open_paginator() raises UserError for an unrecognised content_type.

test_open_paginator_non_wizard_raises(...)

open_paginator() raises UserError when the caller is not a wizard.

test_open_paginator_publishes_event_for_raw_mode_inline_render(...)

open_paginator always publishes a paginator event.

test_open_paginator_publishes_paginator_event(...)

Invoking a verb that calls open_paginator() publishes a paginator event dict to the player's Kombu queue (emitted as a RuntimeWarning in tests).

test_open_paginator_python_content_type(...)

content_type='python' is passed through to the paginator event dict.