What is the proper way of testing throttling in DRF? I coulnd’t find out any answer to this question on the net. I want to have separate tests for each endpoint since each one has custom requests limits (ScopedRateThrottle). The important thing is that it can’t affect other tests – they have to somehow run without throttling and limiting. Answer