Skip to content

Commit 456f6cb

Browse files
committed
Add comment to TooManyRequestsErrorTest
Comment explaining the mock http function.
1 parent 8e23608 commit 456f6cb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/test_clever.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ def test_nonexistent_object(self):
123123
self.assertFalse(isinstance(e.json_body, dict)) # 404 does not have a body
124124
self.assertTrue(isinstance(e.http_body, str))
125125

126+
# http response content for httmock mock requests
126127
def too_many_requests_content(url, request):
127128
headers = {
128129
'X-Ratelimit-Bucket': 'all, none',

0 commit comments

Comments
 (0)