websauna.tests.core.test_sitemap module

websauna.tests.core.test_sitemap.builder(sitemap_request)[source]
websauna.tests.core.test_sitemap.sitemap_app(request, paster_config)[source]

Custom WSGI app with travesal points for sitemap enabled.

websauna.tests.core.test_sitemap.sitemap_request(sitemap_app)[source]

Create a dummy request object useable for sitemap building tests.

websauna.tests.core.test_sitemap.test_conditions(builder)[source]

We can enable/disable items in the sitemap using decorators.

websauna.tests.core.test_sitemap.test_generator_items()[source]

Generated items appear in the sitemap.

websauna.tests.core.test_sitemap.test_reflect_build(builder)[source]

Build both routes and traversables.

websauna.tests.core.test_sitemap.test_reflect_routes(builder)[source]

See we can reflect simple routes back to the sitemap.

websauna.tests.core.test_sitemap.test_reflect_traverse(builder)[source]

See we can reflect traverse hierarchy back to the sitemap.

websauna.tests.core.test_sitemap.test_route_items()[source]

Routed items appear in the sitemap.