def setup(self): lookup = mock.Mock() Config().set(None, "fuelbeds", "truncation_percentage_threshold") Config().set(None, "fuelbeds", "truncation_count_threshold") self.estimator_no_truncation = fuelbeds.Estimator(lookup)
def setup(self): lookup = mock.Mock() self.estimator = fuelbeds.Estimator(lookup)
def setup(self): lookup = mock.Mock() Config().set(75.0, "fuelbeds", "truncation_percentage_threshold") Config().set(2, "fuelbeds", "truncation_count_threshold") self.estimator_w_options = fuelbeds.Estimator(lookup)