Skip to content

Commit a3ef206

Browse files
author
Kevin Hellemun
committed
Added missing docstrings. (#59)
1 parent ef780ad commit a3ef206

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

bunq/sdk/exception.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ def response_code(self):
3030

3131
@property
3232
def response_id(self):
33+
"""
34+
:rtype: str
35+
"""
36+
3337
return self._response_id
3438

3539

tests/http/test_bad_request_with_response_id.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,17 @@
44

55

66
class TestPagination(BunqSdkTestCase):
7+
"""
8+
Tests if the response id from a failed request can be retrieved
9+
successfully.
10+
"""
711

812
_INVALID_USER_PERSON_ID = 0
913

1014
def test_bad_request_with_response_id(self):
15+
"""
16+
"""
17+
1118
caught_exception = None
1219

1320
try:

0 commit comments

Comments
 (0)