aboutsummaryrefslogtreecommitdiffstats
path: root/library/python/pytest/plugins/metrics.py
blob: e0e5a94982bcd4618e939be3e3d4ac76eb68395c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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()