def setUp(self): self.statsd_client = Mock() self.stats = SafeStatsdLogger(self.statsd_client, AllowListValidator("stats_one, stats_two"))
def setUp(self): self.statsd_client = Mock() self.stats = SafeStatsdLogger(self.statsd_client) CustomStatsd._reset() InvalidCustomStatsd._reset()
def setUp(self): self.statsd_client = Mock() self.stats = SafeStatsdLogger(self.statsd_client)
def setUp(self): self.statsd_client = Mock(spec=statsd.StatsClient) self.stats = SafeStatsdLogger(self.statsd_client)