Skip to content

Commit

Permalink
added another assert for stock loan test function
Browse files Browse the repository at this point in the history
  • Loading branch information
anarghya-das committed Jul 5, 2024
1 parent 8a78c1e commit 000d3ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_robinhood.py
Original file line number Diff line number Diff line change
Expand Up @@ -854,6 +854,7 @@ def isFloat(f):
loanPayments = r.get_stock_loan_payments()
assert loanPayments
for payment in loanPayments:
assert ('amount' in payment)
assert isFloat(payment['amount']['amount'])
assert ('symbol' in payment)
assert ('description' in payment)

0 comments on commit 000d3ac

Please sign in to comment.