Disabling throttling during testing? #8076
Answered
by
ericswpark
ericswpark
asked this question in
Question & Answer
-
For some reason DRF is returning a 429 for one of my test cases after I added several new tests to the test case. I know #1336 has a potential solution for disabling throttling for class-based API views, but my APIs are written as functions and I'm not sure how to disable throttling in the test case |
Beta Was this translation helpful? Give feedback.
Answered by
ericswpark
Jul 11, 2021
Replies: 1 comment
-
I ended up changing my function-based view to a class-based view and followed the workaround in #1336. Never mind |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ericswpark
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I ended up changing my function-based view to a class-based view and followed the workaround in #1336. Never mind