Skip to content

Commit

Permalink
test : Verify that all the dataset encapsulate a dask array
Browse files Browse the repository at this point in the history
  • Loading branch information
ClementLaplace committed Nov 20, 2024
1 parent 6d83829 commit 9871d1a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions satpy/tests/reader_tests/test_li_l2_nc.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import os
from unittest import mock

import dask.array as da
import numpy as np
import pytest
import xarray as xr
Expand Down Expand Up @@ -128,6 +129,7 @@ def _test_dataset_variable(self, var_params, sname=""):
res = self.get_variable_dataset(dataset_info, dname, handler)
assert res.shape == shape
assert res.dims[0] == "y"
assert isinstance(res.data,da.Array)
# Should retrieve content with fullname key:
full_name = self.create_fullname_key(desc, var_path, dname, sname=sname)
# Note: 'content' is not recognized as a valid member of the class below
Expand Down

0 comments on commit 9871d1a

Please sign in to comment.