class_docstr: Tests for verifying ProgressHooks.
      
class_docstr_tok: ["Tests","for","verifying","ProgressHooks","."]
docstr: Get expected progress after finishing a chunk ending at ``chunk_end``.
          
docstr_tok: ["Get","expected","progress","after","finishing","a","chunk","ending","at","``","chunk_end","``","."]
code: def expected_chunk_progress(
      self, pipeline_start, pipeline_end, chunk_end
  ):
      """Get expected progress after finishing a chunk ending at ``chunk_end``."""
      # +1 to be inclusive of end dates
      total_days = (pipeline_end - pipeline_start).days + 1
      days_complete = (chunk_end - pipeline_start).days + 1
      return round((100.0 * days_complete) / total_days, 3)
  
imports: import itertools
  from operator import attrgetter
  import numpy
  import pandas
  import toolz
  from zipline.pipeline import Pipeline
  from zipline.pipeline.classifiers import Everything
  from zipline.pipeline.domain import US_EQUITIES
  from zipline.pipeline.factors import CustomFactor
  from zipline.pipeline.data import Column, DataSet
  from zipline.pipeline.data.testing import TestingDataSet
  from zipline.pipeline.hooks.testing import TestingHooks
  from zipline.pipeline.hooks.progress import ProgressHooks, repr_htmlsafe, TestingProgressPublisher
  from zipline.pipeline.term import AssetExists, ComputableTerm, LoadableTerm
  from zipline.testing import parameter_space
  from zipline.testing.fixtures import ZiplineTestCase, WithSeededRandomPipelineEngine
  from zipline.testing.predicates import assert_almost_equal, instance_of
label_desc: Use image node_id 7 for calling the ProgressHooksTestCase obj's underlying member method code with example usage: obj.expected_chunk_progress(pipeline_start, pipeline_end, chunk_end) and returns: round