class_docstr: Test case for data queries.
class_docstr_tok: ["Test","case","for","data","queries","."]
docstr: Test DataQuery objects.
docstr_tok: ["Test","DataQuery","objects","."]
code: def test_dataquery(self):
      """Test DataQuery objects."""
      from satpy.dataset import DataQuery
  
      DataQuery(name="cheese_shops")
  
      # Check repr
      did = DataQuery(name="VIS008", resolution=111)
      assert repr(did) == "DataQuery(name='VIS008', resolution=111)"
  
      # Check inequality
      assert DataQuery(wavelength=10) != DataQuery(name="VIS006")
  
imports: import unittest
  from datetime import datetime
  import numpy
  import pytest
  from satpy.dataset.dataid import DataID, DataQuery, ModifierTuple, WavelengthRange, minimal_default_keys_config
  from satpy.readers.pmw_channels_definitions import FrequencyDoubleSideBand, FrequencyQuadrupleSideBand, FrequencyRange
  from satpy.tests.utils import make_cid, make_dataid, make_dsq
label_desc: Use image node_id 1 for calling the TestDataQuery obj's underlying member method code with example usage: obj.test_dataquery() without return types