code: def testCCI(self):
      barDs = self.__loadBarDS()
      self.assertAmountsAreEqual(
          indicator.CCI(barDs, 252, 2)[1], 66.666
      )
      self.assertAmountsAreEqual(
          indicator.CCI(barDs, 252, 5)[4], 18.857
      )
      self.assertAmountsAreEqual(
          indicator.CCI(barDs, 252, 11)[10], 87.927
      )
      self.assertAmountsAreEqual(
          indicator.CCI(barDs, 252, 11)[11], 180.005, 3
      )
  
imports: import datetime
  import talib
  from six.moves import xrange
  from .None import common
  from pyalgotrade.talibext import indicator
  from pyalgotrade import bar
  from pyalgotrade import dataseries
  from pyalgotrade.dataseries import bards
label_desc: Use image node_id 17 for calling the TestCase obj's underlying member method code with example usage: obj.testCCI() without return types