code: def test_bundle(self):
      environ = {
          "CSVDIR": test_resource_path("csvdir_samples", "csvdir")
      }
  
      ingest("csvdir", environ=environ)
      bundle = load("csvdir", environ=environ)
      sids = 0, 1, 2, 3
      assert_equal(set(bundle.asset_finder.sids), set(sids))
  
      for equity in bundle.asset_finder.retrieve_all(sids):
          assert_equal(equity.start_date, self.asset_start, msg=equity)
          assert_equal(equity.end_date, self.asset_end, msg=equity)
  
      sessions = self.calendar.all_sessions
      actual = bundle.equity_daily_bar_reader.load_raw_arrays(
          self.columns,
          sessions[sessions.get_loc(self.asset_start, "bfill")],
          sessions[sessions.get_loc(self.asset_end, "ffill")],
          sids,
      )
  
      expected_pricing, expected_adjustments = self._expected_data(
          bundle.asset_finder,
      )
      assert_equal(actual, expected_pricing, array_decimal=2)
  
      adjs_for_cols = bundle.adjustment_reader.load_pricing_adjustments(
          self.columns,
          sessions,
          pd.Index(sids),
      )
      assert_equal(
          [sorted(adj.keys()) for adj in adjs_for_cols],
          expected_adjustments,
      )
  
file_path: zipline/tests/data/bundles/test_csvdir.py
imports: from __future__ import division
  import numpy
  import pandas
  from trading_calendars import get_calendar
  from zipline.data.bundles import ingest, load, bundles
  from zipline.testing import test_resource_path
  from zipline.testing.fixtures import ZiplineTestCase
  from zipline.testing.predicates import assert_equal
  from zipline.utils.functional import apply
label_desc: Use image node_id 2 for calling the CSVDIRBundleTestCase obj's underlying member method code with example usage: obj.test_bundle() without return types