websauna.tests.core.test_simple_route module
These tests aim to ensure that websauna’s simple_route
can be used in the
same way as pyramid’s view_config
. Tests are inspired by pyramid’s
viewconfig documentation and aim to check that the provided examples of the
use of view_config
are also applicable to simple_route
.
-
websauna.tests.core.test_simple_route.
config
()[source]
-
websauna.tests.core.test_simple_route.
test_class_as_a_view
(testapp)[source]
-
websauna.tests.core.test_simple_route.
test_class_method_by_attr
(testapp)[source]
-
websauna.tests.core.test_simple_route.
test_method_of_a_class
(testapp)[source]
-
websauna.tests.core.test_simple_route.
test_muliple_simple_route_decorators
(testapp)[source]
-
websauna.tests.core.test_simple_route.
test_registered_routes
(config)[source]
-
websauna.tests.core.test_simple_route.
test_registered_routes_docs
(config)[source]
-
websauna.tests.core.test_simple_route.
test_route_items
(testapp)[source]
-
websauna.tests.core.test_simple_route.
test_view_callable
(testapp)[source]
-
websauna.tests.core.test_simple_route.
testapp
(config)[source]