class TestParsing(TestCase): def setUp(self): self.processor = TestMessageProcessor() def test_parse(self): self.processor.process('txstatsd.tests.users:100|sli') self.processor.process('txstatsd.tests.users:100|sli|2') self.processor.process('txstatsd.tests.users:error|sli')
def setUp(self): self.processor = TestMessageProcessor()