Skip to content

Commit

Permalink
updated tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vicpaton committed Sep 12, 2024
1 parent c09e6e8 commit b851b17
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file added test.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions tests/test_network_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
plot_n_nodes_edges,
plot_n_nodes_edges_from_df,
build_heatmap_with_tree,
create_rank_heatmap
create_heatmap
)

@pytest.fixture
Expand Down Expand Up @@ -218,5 +218,5 @@ def test_build_heatmap_with_tree_render(mock_clustermap, setup_data):
def test_create_rank_heatmap_saves_figure(mock_savefig, setup_data):
_, _, _, _, ora_results, ora_terms = setup_data
filepath = 'test_rank_heatmap.png'
create_rank_heatmap(ora_results, ora_terms, filepath=filepath)
create_heatmap(ora_results, ora_terms, filepath=filepath)
mock_savefig.assert_called_once_with(filepath)

0 comments on commit b851b17

Please sign in to comment.