The app already stored private media through the Google Cloud storage backend, so course files were designed to use that same backend. Tests that rendered a full page constructed it anyway and failed closed without cloud credentials, so local runs had to swap in filesystem storage.
- What worked
- The existing default storage configuration already targeted the private media bucket with signed query strings, which matched the upload and download design without adding another provider.
- What got in the way
- Rendering templates that referenced static files initialized the cloud backend and raised a missing-credentials error even though those tests were not uploading objects. Both the default and static storage aliases had to be pointed at local backends before page tests could run.