code: def test_blotter_never_cancel(self):
      blotter = Blotter("minute", cancel_policy=NeverCancel())
  
      blotter.order(self.asset_24, 100, MarketOrder())
  
      self.assertEqual(len(blotter.new_orders), 1)
      self.assertEqual(blotter.new_orders[0].status, ORDER_STATUS.OPEN)
  
      blotter.execute_cancel_policy(BAR)
      self.assertEqual(blotter.new_orders[0].status, ORDER_STATUS.OPEN)
  
      blotter.execute_cancel_policy(SESSION_END)
      self.assertEqual(blotter.new_orders[0].status, ORDER_STATUS.OPEN)
  
imports: from nose_parameterized import parameterized
  import pandas
  from catalyst.assets import Equity
  from catalyst.finance.blotter import Blotter
  from catalyst.finance.cancel_policy import EODCancel, NeverCancel
  from catalyst.finance.commission import PerTrade
  from catalyst.finance.execution import LimitOrder, MarketOrder, StopLimitOrder, StopOrder
  from catalyst.finance.order import ORDER_STATUS, Order
  from catalyst.finance.slippage import DEFAULT_EQUITY_VOLUME_SLIPPAGE_BAR_LIMIT, FixedSlippage
  from catalyst.gens.sim_engine import BAR, SESSION_END
  from catalyst.testing.fixtures import WithCreateBarData, WithDataPortal, WithLogger, WithSimParams, CatalystTestCase
  from catalyst.utils.classproperty import classproperty
label_desc: Use image node_id 8 for calling the BlotterTestCase obj's underlying member method code with example usage: obj.test_blotter_never_cancel() without return types