

def test_parse_metrics_suppress_error(self):
    '\n        Tests that parsing metrics will suppress errors if requested.\n        '
    message = 'k:1|nope'
    results = Collector(None)._parse_metrics(message)
    assert (0 == len(results))

dataset/ETHPy150Open kiip/statsite/tests/unit/test_collector.py TestCollector.test_parse_metrics_suppress_error/original