diff --git a/tests/test_cardholder.py b/tests/test_cardholder.py index 61e6d1d1..ed57c341 100644 --- a/tests/test_cardholder.py +++ b/tests/test_cardholder.py @@ -27,6 +27,8 @@ async def test_cardholder_detail(): for cardholder_summary in response.results: # Get the detail of the cardholder for comparison - cardholder_detail_response = Cardholder.retrieve(cardholder_summary.id) + cardholder_detail_response = await Cardholder.retrieve( + cardholder_summary.id + ) assert type(cardholder_detail_response) is CardholderDetail assert (cardholder_detail_response.id == cardholder_summary.id)