Skip to content

Disable cache in unit tests

Yuto Takano requested to merge disable-cache-in-tests into master

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.

Merge request reports

Loading