Skip to content

Commit

Permalink
tests: add pytest.importorskip
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmueller committed Mar 22, 2024
1 parent b33b36c commit 92d8fa9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_rtdc_feat_basin_mapped.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,7 @@ def test_export_to_hdf5_mapped_basin():
@pytest.mark.skipif(not DCOR_AVAILABLE, reason="DCOR not available")
def test_export_to_hdf5_from_dcor_dataset(tmp_path):
"""Exporting from DCOR with mapped basin should make basin available"""
pytest.importorskip("requests")
# TODO: Implement this test with a new, smaller DCOR dataset
dcor_url = ("https://dcor.mpl.mpg.de/api/3/action/dcserv?id="
"fb719fb2-bd9f-817a-7d70-f4002af916f0")
Expand Down

0 comments on commit 92d8fa9

Please sign in to comment.