(self, first, second, msg=None)
| 12 | |
| 13 | class TestParse(unittest.TestCase): |
| 14 | def assertEqualMetrics(self, first, second, msg=None): |
| 15 | super().assertEqual(first, second, msg) |
| 16 | |
| 17 | # Test that samples are actually named tuples of type Sample. |
| 18 | for a, b in zip(first, second): |
| 19 | for sa, sb in zip(a.samples, b.samples): |
| 20 | assert sa.name == sb.name |
| 21 | |
| 22 | def test_simple_counter(self): |
| 23 | families = text_string_to_metric_families("""# TYPE a counter |
no outgoing calls
no test coverage detected