websauna.tests.sitemapsamples module

Permission test views.

class websauna.tests.sitemapsamples.SampleContainer(request, name)[source]

Bases: websauna.tests.sitemapsamples.SampleResource

Node resource in tree.

items()[source]
Return type:Iterable[Tuple[str, <InterfaceClass pyramid.interfaces.ILocation>]]
class websauna.tests.sitemapsamples.SampleResource(request, name)[source]

Bases: websauna.system.core.traversal.Resource

Leaf resource in tree.

websauna.tests.sitemapsamples.additional_container_view(sample_resource, request)[source]
websauna.tests.sitemapsamples.additional_sample_view(sample_resource, request)[source]
websauna.tests.sitemapsamples.another_skipped_route(request)[source]
websauna.tests.sitemapsamples.condition(context, request)[source]
websauna.tests.sitemapsamples.conditional_sample_view(sample_resource, request)[source]
websauna.tests.sitemapsamples.container_factory(request)[source]

Set up __parent__ and __name__ pointers required for traversal for container root.

websauna.tests.sitemapsamples.default_container_view(sample_resource, request)[source]
websauna.tests.sitemapsamples.default_sample_view(sample_resource, request)[source]
websauna.tests.sitemapsamples.included_route(request)[source]
websauna.tests.sitemapsamples.parameter_free_route(request)[source]
websauna.tests.sitemapsamples.parameterized_route(request)[source]
websauna.tests.sitemapsamples.permissioned_container_view(sample_resource, request)[source]
websauna.tests.sitemapsamples.permissioned_route(request)[source]
websauna.tests.sitemapsamples.post_only_route(request)[source]
websauna.tests.sitemapsamples.skipped_condition(context, request)[source]
websauna.tests.sitemapsamples.skipped_conditional(sample_resource, request)[source]
websauna.tests.sitemapsamples.skipped_route(request)[source]
websauna.tests.sitemapsamples.traverse_condition(context, request)[source]