Skip to content

Commit

Permalink
add sleep time to tests to avoid failures
Browse files Browse the repository at this point in the history
  • Loading branch information
sdabhi23 committed Mar 14, 2024
1 parent 9fe7432 commit ba8d3a6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test_bsedata.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ def test_getQuote_valid(scripCode):
else:
assert len(data) == 27

time.sleep(0.5)


def test_getQuote_invalid_default():
with pytest.raises(InvalidStockException) as err_info:
Expand Down

0 comments on commit ba8d3a6

Please sign in to comment.