Ejemplo n.º 1
0
 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)
Ejemplo n.º 2
0
 def setup(self):
     lookup = mock.Mock()
     self.estimator = fuelbeds.Estimator(lookup)
Ejemplo n.º 3
0
 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)