Skip to content

Commit 77c5ae1

Browse files
committed
Docstring and test indentation
1 parent 7a26530 commit 77c5ae1

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

mpesakit/http_client/http_client.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
"""http_client.py: Defines an abstract base HTTP client class for making HTTP requests.
22
3-
Error handling for both synchronous ans Asynchronous clients
4-
3+
Error handling for both synchronous and asynchronous clients
54
Provides a reusable interface for GET and POST requests.
65
"""
76

tests/unit/mpesa_express/test_stk_push.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,6 @@ async def test_async_stk_push_multiple_times(mock_async_token_manager):
380380
if str(result.ResponseCode) == "0":
381381
success_count += 1
382382

383-
assert success_count == 100
384-
assert mock_send.call_count == 100
383+
assert success_count == 100
384+
assert mock_send.call_count == 100
385385

386-
await client.aclose()

0 commit comments

Comments
 (0)