class_docstr: Test identification of channel type.
class_docstr_tok: ["Test","identification","of","channel","type","."]
docstr: Test handling of invalid channel type.
code: def test_invalid_channel(self):
      """Test handling of invalid channel type."""
      with pytest.raises(ValueError, match="Invalid channel"):
          is_vis_channel({"foo": "bar"})
  
imports: import datetime
  import unittest
  from unittest import mock
  import numpy
  import pytest
  import xarray
  from pyresample.geometry import AreaDefinition
  from satpy.readers.goes_imager_nc import is_vis_channel
  from satpy.tests.utils import make_dataid
label_desc: Use image node_id 2 for calling the TestChannelIdentification obj's underlying member method code with example usage: obj.test_invalid_channel() without return types