tests: allocation as value in range 0.00 to 1.00

Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
This commit is contained in:
Michal Mielewczyk
2020-11-17 22:06:31 -05:00
parent d8bc4b8e28
commit 7ef1e1c197
2 changed files with 2 additions and 2 deletions

View File

@@ -31,7 +31,7 @@ IO_CLASS_CONFIG_HEADER = "IO class id,IO class name,Eviction priority,Allocation
@functools.total_ordering
class IoClass:
def __init__(self, class_id: int, rule: str = '', priority: int = None,
allocation: str = '1.00'):
allocation: str = "1.00"):
self.id = class_id
self.rule = rule
self.priority = priority