Add IO class dss tests

Signed-off-by: Katarzyna Lapinska <katarzyna.lapinska@intel.com>
This commit is contained in:
Katarzyna Lapinska
2022-04-26 09:05:59 +02:00
parent 66361bb64b
commit 8b8b2bcc26
5 changed files with 429 additions and 2 deletions

View File

@@ -56,7 +56,7 @@ class IoClass:
class_id=int(parts[0]),
rule=parts[1],
priority=int(parts[2]),
allocation=parts[3])
allocation="%.2f" % float(parts[3]))
@staticmethod
def list_to_csv(ioclass_list: [], add_default_rule: bool = True):