Skip to content

Commit 9e809ea

Browse files
Refactor test to use icesat2_atl06_granule_1
1 parent 27919e1 commit 9e809ea

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

tests/test_core.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,8 @@ def test_icesat(temp_data_dir, icesat2_atl06_granule_1, icesat2_atl06_granule_2)
9494
assert num_differences == 5280
9595

9696

97-
def test_error_on_different_file_types(temp_data_dir):
98-
file1 = data_for_tests_dir / "icesat-2-ATL06" / "ATL06_20230816161508_08782002_006_02.h5"
97+
def test_error_on_different_file_types(temp_data_dir, icesat2_atl06_granule_1):
9998
file2 = data_for_tests_dir / "test_a.nc"
10099

101100
with pytest.raises(TypeError):
102-
compare(file1, file2)
101+
compare(icesat2_atl06_granule_1, file2)

0 commit comments

Comments
 (0)