code: def test_cant_order_in_initialize(self):
      algotext = """
  from zipline.api import (sid, order)
  
  def initialize(context):
      order(sid(1), 10)"""
  
      algo = self.make_algo(script=algotext)
      with self.assertRaises(ze.OrderDuringInitialize):
          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 2 for calling the TestOrderMethodsDailyFrequency obj's underlying member method code with example usage: obj.test_cant_order_in_initialize() without return types