mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-20 05:28:04 +00:00
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:
parent
6bcff5472b
commit
383ab4729a
@ -96,7 +96,7 @@ class FakeStatsProvider(object):
|
||||
}
|
||||
return stats
|
||||
|
||||
class FakeStats():
|
||||
class FakeStats(Statistics):
|
||||
def __init__(self):
|
||||
self._provider = FakeStatsProvider()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user