def setUp(self): self.sample_rewrite_rule = RewriteRule(r'^(carbon.foo)', r'\1.bar') self.sample_aggregation_rule = AggregationRule(r'^carbon.foo', r'carbon.foo.sum', 'sum', 1) self.sample_overwriting_aggregation_rule = \ AggregationRule(r'^carbon.foo', r'carbon.foo', 'sum', 1) self.processor = AggregationProcessor()
def setUp(self): self.sample_rule = RewriteRule('^carbon[.]foo[.]', 'carbon_foo.')