aboutsummaryrefslogtreecommitdiffstats
path: root/library/python/pytest/plugins/metrics.py
blob: b6431c8b8efa9b9125f20cb6f0553396fb714b29 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
class TestMetrics:
    metrics = {}
    def __getitem__(self, key):
        return self.metrics.__getitem__(key)
    def __setitem__(self, key, value):
        return self.metrics.__setitem__(key, value)
    def get(self, key):
        return self.metrics.get(key)

test_metrics = TestMetrics()