diff options
| author | iaz1607 <[email protected]> | 2023-09-13 09:55:52 +0300 | 
|---|---|---|
| committer | iaz1607 <[email protected]> | 2023-09-13 10:16:19 +0300 | 
| commit | 08b7ee73a931f5717a1d50a30f7f70210db73f33 (patch) | |
| tree | 1be80c2902f59d2c8e1be2c005b9ec7f441034d1 /library/python/pytest | |
| parent | 369f3998d397d7efd3f9c5468ecfcaed06c9f32a (diff) | |
Increase max metric name length
Diffstat (limited to 'library/python/pytest')
| -rw-r--r-- | library/python/pytest/plugins/fixtures.py | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/library/python/pytest/plugins/fixtures.py b/library/python/pytest/plugins/fixtures.py index 98e91ce41a8..d0b57ee1016 100644 --- a/library/python/pytest/plugins/fixtures.py +++ b/library/python/pytest/plugins/fixtures.py @@ -13,7 +13,7 @@ def metrics(request):      class Metrics(object):          @classmethod          def set(cls, name, value): -            assert len(name) <= 128, "Length of the metric name must less than 128" +            assert len(name) <= 256, "Length of the metric name must less than 128"              assert type(value) in [int, float], "Metric value must be of type int or float"              test_name = request.node.nodeid              if test_name not in test_metrics.metrics: | 
