class_docstr: Test the Ocean Color reader.
class_docstr_tok: ["Test","the","Ocean","Color","reader","."]
docstr: Test case where an incorrect composite period is given.
docstr_tok: ["Test","case","where","an","incorrect","composite","period","is","given","."]
code: def test_bad_fname(self, fake_dataset, fake_file_dict):
      """Test case where an incorrect composite period is given."""
      reader = self._create_reader_for_resolutions(
          [fake_file_dict["bad_month"]]
      )
      res = reader.load([ds_list_all[0]])
      assert len(res) == 0
      reader = self._create_reader_for_resolutions(
          [fake_file_dict["bad_day"]]
      )
      res = reader.load([ds_list_all[0]])
      assert len(res) == 0
  
imports: import os
  from datetime import datetime
  import numpy
  import pytest
  import xarray
  from pyresample.geometry import AreaDefinition
label_desc: Use image node_id 5 for calling the TestOCCCIReader obj's underlying member method code with example usage: obj.test_bad_fname(fake_dataset, fake_file_dict) without return types