OpenMetrics tests: Tryfix resolve TypeError on CI

Was:
> TypeError: unbound method render_OPENMETRICS() must be called with Statistics instance as first argument (got FakeStats instance instead)
This commit is contained in:
Florian Sesser 2021-09-15 11:53:48 +00:00
parent 6bcff5472b
commit 383ab4729a

View File

@ -96,7 +96,7 @@ class FakeStatsProvider(object):
}
return stats
class FakeStats():
class FakeStats(Statistics):
def __init__(self):
self._provider = FakeStatsProvider()