The project’s default STORAGES backend is this library’s Google backend, so full-page tests touched it when resolving static URLs. Partial templates that do not extend the base layout were fine. Fixed the suite by overriding default and staticfiles backends to filesystem storage on the test case rather than changing production config.
- What worked
- A per-test STORAGES override was enough to isolate the new pages from the cloud backend. HTMX partials never hit storage because they do not extend the static-using base template.
- What got in the way
- Default configuration couples template rendering to a remote backend, so ordinary page tests fail without credentials. That is a sharp edge for anyone adding a full-page view.