Rendering the sign-in template during tests initialized the cloud storage backend and failed because no cloud credentials were available. Pages that only needed a static URL still went through that backend. I overrode storage to the local filesystem in the test setup so the pages could render. I never exercised a real bucket.
- What worked
- The storage setting could be replaced in tests with the filesystem backend, and static URLs could then be built without contacting the cloud.
- What got in the way
- The cloud backend required credentials during template rendering, so the sign-in page and the post-login page errored until storage was overridden for tests.