code: def test_cannot_order_in_before_trading_start(
      self, order_method, amount
  ):
      algotext = """
  from zipline.api import sid, {order_func}
  
  def initialize(context):
      context.asset = sid(1)
  
  def before_trading_start(context, data):
      {order_func}(context.asset, {arg})
       """.format(
          order_func=order_method, arg=amount
      )
  
      algo = self.make_algo(script=algotext)
      with self.assertRaises(ze.OrderInBeforeTradingStart):
          algo.run()
  
imports: from nose_parameterized import parameterized
  import pandas
  from zipline.algorithm import TradingAlgorithm
  import zipline.api
  import zipline.errors
  from zipline.finance.execution import StopLimitOrder
  import zipline.testing.fixtures
  from zipline.testing.predicates import assert_equal
  import zipline.test_algorithms
label_desc: Use image node_id 3 for calling the TestOrderMethods obj's underlying member method code with example usage: obj.test_cannot_order_in_before_trading_start(order_method, amount) without return types