Merge pull request #1190 from katlapinka/ioclass

Add IO class dss tests
This commit is contained in:
Karolina Rogowska
2022-07-14 13:08:28 +02:00
committed by GitHub
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):