Disable cache in unit tests
The static_cache
used as the temporary workaround for high query latency with listwithmeta
makes some Django unit tests fail because it returns old results. Although we haven't seen it yet, presumably the cache
function would also introduce bugs like this.
To make it future-proof, this MR makes caches always miss under test conditions.