def test_collector_process_ignores_whitelisted_but_blacklisted_metrics(self): collector.process(self.writer, TimeSeriesTuple('host.ip.127-0-0-1.serv1.cpu_crit.avg', 1, 1)) self.writer.write.called.should.be.false
def test_collector_process_ignores_whitelisted_but_blacklisted_metrics( self): collector.process( self.writer, TimeSeriesTuple('host.ip.127-0-0-1.serv1.cpu_crit.avg', 1, 1)) self.writer.write.called.should.be.false
def test_collector_process_accepts_whitelisted_and_not_blacklisted_metrics(self): collector.process(self.writer, TimeSeriesTuple('host.ip.127-0-0-1.serv1.cpu.avg', 1, 1)) self.writer.write.called.should.be.true
def test_collector_process_accepts_whitelisted_and_not_blacklisted_metrics( self): collector.process( self.writer, TimeSeriesTuple('host.ip.127-0-0-1.serv1.cpu.avg', 1, 1)) self.writer.write.called.should.be.true