websauna.tests.core.test_viewconfig module

websauna.tests.core.test_viewconfig.setup_wsgi()[source]
websauna.tests.core.test_viewconfig.test_child_own_view()[source]

Subclasses can defined their own view configs.

websauna.tests.core.test_viewconfig.test_grand_child_view()[source]

view_overrides work correctly on the second level of inheritance.

websauna.tests.core.test_viewconfig.test_grand_grand_child_view()[source]

view_overrides work correctly on the third level of inheritance with two nested @view_overrides.

websauna.tests.core.test_viewconfig.test_invalid_override()[source]

Trying to override non-view class causes an error..

websauna.tests.core.test_viewconfig.test_override_context()[source]

Subclasses may override the context for which the view belongs..

websauna.tests.core.test_viewconfig.test_rendered_override()[source]

We can override renderer and route name for dispatched URLs.