Skip to content

Commit

Permalink
Make the test test the *API*, not NVDA:)
Browse files Browse the repository at this point in the history
Actually, the purpose of this commit is to bump the CI to run again,
because it failed with an error that seems intermittent, and very rare.
  • Loading branch information
kocielnik committed Dec 6, 2024
1 parent 944bc3e commit 85c9add
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def test_get_data():
test_client = app.test_client()
res = test_client.get('/api/ticker/nvda')
data = res.text
assert json.loads(data)['debt_payoff_time'] == 0
assert json.loads(data)['debt_payoff_time'] >= 0
assert res.status_code == 200

def test_get_ten_cap_price():
Expand Down

0 comments on commit 85c9add

Please sign in to comment.