Skip to content

Commit

Permalink
fix. updates unit tests to fix failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushanand18 committed May 10, 2023
1 parent b5141f9 commit 9b55b99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pydwcviz/taxon/test_taxon.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def test_plot_dist():

def test_latdist():
"""Test latitude distriution function - both interactive and non-interactive"""
assert taxon.latdist(occurrences.search(scientificname = "Mola mola", size=100).execute(), level="species", interactive=False).__class__.__name__ == "AxesSubplot"
assert taxon.latdist(occurrences.search(scientificname = "Mola mola", size=100).execute(), level="species", interactive=False).__class__.__name__ == "Axes"

fig = taxon.latdist(occurrences.search(scientificname = "Mola mola", size=100).execute(), level="species", interactive=True)
assert fig.__class__.__name__ == "Figure"

0 comments on commit 9b55b99

Please sign in to comment.