def test_history(self, private_client, account_id):
    response = private_client.accounts.history(account_id)
    assert inspect.isgenerator(response)
    accounts = list(islice(response, 5))
    assert ('amount' in accounts[0])
    assert ('details' in accounts[0])
def test_history(self, private_client, account_id):
    response = private_client.accounts.history(account_id)
    assert inspect.isgenerator(response)
    accounts = list(islice(response, 5))
    assert ('amount' in accounts[0])
    assert ('details' in accounts[0])