code: def testOnStartIdleFinish(self):
      strat = self.createStrategy()
      strat.run()
      self.assertTrue(strat.onStartCalled)
      self.assertTrue(strat.onFinishCalled)
      self.assertFalse(strat.onIdleCalled)
  
imports: import datetime
  from .None import common
  from pyalgotrade import strategy
  from pyalgotrade import broker
  from pyalgotrade.barfeed import yahoofeed
label_desc: Use image node_id 1 for calling the OptionalOverridesTestCase obj's underlying member method code with example usage: obj.testOnStartIdleFinish() without return types