websauna.tests.static.test_static_asset module

websauna.tests.static.test_static_asset.cache_app(request)[source]

Construct a WSGI app with static asset caching enabled.

websauna.tests.static.test_static_asset.caching_web_server(request, cache_app)[source]
websauna.tests.static.test_static_asset.test_collect_recurse()[source]

Check another more complicated static file folder collect

websauna.tests.static.test_static_asset.test_collect_static_asset()[source]

Collect static files and stash them with MD5 sums.

websauna.tests.static.test_static_asset.test_map_static_asset(browser, caching_web_server)[source]

Use collected information to return static URLs