graphite-project / carbon

Missing argument in function call PYL-E1120
Bug risk
Critical
4 years ago4 years old
No value for argument 'self' in unbound method call
18  def tearDown(self):
19    instrumentation.stats.clear()
20    BufferManager.clear()
21    RuleManager.clear()22
23  def test_registers_plugin(self):
24    self.assertTrue('aggregate' in Processor.plugins)
No value for argument 'self' in unbound method call
18
19
20def bench_aggregator_sum():
21    RuleManager.clear()22    RuleManager.rules = [
23        RuleManager.parse_definition(
24            ('<env>.applications.<app>.all.requests (%d) =' % FREQUENCY) +
No value for argument 'self' in unbound method call
28
29
30def bench_aggregator_fake():
31    RuleManager.clear()32    RuleManager.rules = [
33        RuleManager.parse_definition('foo (60) = sum bar'),
34    ]
No value for argument 'line' in unbound method call
20def bench_aggregator_sum():
21    RuleManager.clear()
22    RuleManager.rules = [
23        RuleManager.parse_definition(24            ('<env>.applications.<app>.all.requests (%d) =' % FREQUENCY) +
25            'sum <env>.applications.<app>.*.requests'),
26    ]
No value for argument 'self' in unbound method call
13
14
15def bench_aggregator_noop():
16    RuleManager.clear()17    _bench_aggregator("noop")
18
19