From dd11d07bc4d44e039952e34afed20e0a2560f588 Mon Sep 17 00:00:00 2001 From: Kurt Garloff Date: Tue, 7 May 2024 23:41:39 +0200 Subject: [PATCH] I can't say that I love flake8 ... Signed-off-by: Kurt Garloff --- Tests/iaas/flavor-naming/flavor_names.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Tests/iaas/flavor-naming/flavor_names.py b/Tests/iaas/flavor-naming/flavor_names.py index b1114b1e6..6c6e72e08 100644 --- a/Tests/iaas/flavor-naming/flavor_names.py +++ b/Tests/iaas/flavor-naming/flavor_names.py @@ -191,11 +191,13 @@ class CPUBrand: "r": {None: '(unspecified)', 0: "Unspec"}, }) perf = TblAttr("Performance", {"": "Std Perf", "h": "High Perf", "hh": "Very High Perf", "hhh": "Very Very High Perf"}) + def __init__(self, cpuvendor="i", cpugen=0, perf=""): self.cpuvendor = cpuvendor self.cpugen = cpugen self.perf = perf + class GPU: """Class repesenting GPU support""" type = "GPU"