OpenMetrics test suite: Make CI happy: No old style objects

This commit is contained in:
Florian Sesser 2021-09-17 12:04:12 +00:00
parent 5825b8bd42
commit a2378d0e70

View File

@ -115,7 +115,7 @@ class FakeStatsProvider(object):
}
return stats
class HackItResource(Resource):
class HackItResource(Resource, object):
def getChildWithDefault(self, path, request):
request.fields = None
return Resource.getChildWithDefault(self, path, request)