Skip to content

Commit

Permalink
add more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sdabhi23 committed Jan 30, 2024
1 parent 080d5f7 commit 4983b37
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion test_bsedata.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,4 +119,16 @@ def test_getBhavCopyData():

assert scripCodeTypes == predefinedScripCodeTypes

assert len(bhavCopy) > 0
assert len(bhavCopy) > 0


def test_topGainers():
topGainers = b.topGainers()

assert len(topGainers) <= 5


def test_topLosers():
topLosers = b.topLosers()

assert len(topLosers) <= 5

0 comments on commit 4983b37

Please sign in to comment.