def test_holds(self, private_client, account_id):
    response = private_client.accounts.holds(account_id)
    assert inspect.isgenerator(response)
    holds = list(islice(response, 5))
    assert ('type' in holds[0])
    assert ('ref' in holds[0])
def test_holds(self, private_client, account_id):
    response = private_client.accounts.holds(account_id)
    assert inspect.isgenerator(response)
    holds = list(islice(response, 5))
    assert ('type' in holds[0])
    assert ('ref' in holds[0])