code: def test_get_spot_value_future_minute(self):
      trading_calendar = self.trading_calendars[Future]
      asset = self.asset_finder.retrieve_asset(10000)
      dts = trading_calendar.minutes_for_session(self.trading_days[3])
  
      # Case: Get data on exact dt.
      dt = dts[1]
      expected = OrderedDict(
          {
              "open": 203.5,
              "high": 203.9,
              "low": 203.1,
              "close": 203.3,
              "volume": 2003,
              "price": 203.3,
          }
      )
      result = [
          self.data_portal.get_spot_value(asset, field, dt, "minute")
          for field in expected.keys()
      ]
      assert_almost_equal(array(list(expected.values())), result)
  
      # Case: Get data on empty dt, return nan or most recent data for price.
      dt = dts[100]
      expected = OrderedDict(
          {
              "open": nan,
              "high": nan,
              "low": nan,
              "close": nan,
              "volume": 0,
              "price": 201.3,
          }
      )
      result = [
          self.data_portal.get_spot_value(asset, field, dt, "minute")
          for field in expected.keys()
      ]
      assert_almost_equal(array(list(expected.values())), result)
  
imports: from collections import OrderedDict
  from numpy import array, append, nan, full
  from numpy.testing import assert_almost_equal
  import pandas
  from pandas import Timedelta
  from six import iteritems
  from zipline.assets import Equity, Future
  from zipline.data.data_portal import HISTORY_FREQUENCIES, OHLCV_FIELDS
  from zipline.data.minute_bars import FUTURES_MINUTES_PER_DAY, US_EQUITIES_MINUTES_PER_DAY
  from zipline.testing import parameter_space
  from zipline.testing.fixtures import ZiplineTestCase, WithTradingSessions, WithDataPortal, alias
  from zipline.testing.predicates import assert_equal
  from zipline.utils.numpy_utils import float64_dtype
label_desc: Use image node_id 10 for calling the DataPortalTestBase obj's underlying member method code with example usage: obj.test_get_spot_value_future_minute() without return types