Commit f2e5136
committed
Fix test_package_endpoint_throttling by clearing cache in setUp
The throttle cache was not being reset between test runs, causing
request counts from previous tests to spill over and trigger the
rate limit prematurely.
Fix by calling cache.clear() at the start of setUp().
Fixes #<replace-with-your-issue-number>1 parent 1b17c58 commit f2e5136
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
| 23 | + | |
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
| |||
0 commit comments