Add todo in tests rate and workbench
This commit is contained in:
parent
e17352879a
commit
73c79fc827
|
@ -217,6 +217,7 @@ def test_rate_processor_with_null_cores():
|
|||
|
||||
processor_rate = ProcessorRate().compute(cpu, WorkbenchRate())
|
||||
|
||||
# todo result is not 1 != 1.376 .. check what's wrong
|
||||
assert processor_rate == 1, 'ProcessorRate returns incorrect value(rate)'
|
||||
|
||||
|
||||
|
@ -230,7 +231,7 @@ def test_rate_processor_with_null_speed():
|
|||
|
||||
processor_rate = ProcessorRate().compute(cpu, WorkbenchRate())
|
||||
|
||||
assert processor_rate == 1.06, 'ProcessorRate returns incorrect value(rate)'
|
||||
assert round(processor_rate, 2) == 1.06, 'ProcessorRate returns incorrect value(rate)'
|
||||
|
||||
|
||||
def test_rate_computer_rate():
|
||||
|
|
|
@ -193,6 +193,7 @@ def test_snapshot_real_eee_1001pxd(user: UserClient):
|
|||
assert rate['type'] == 'AggregateRate'
|
||||
assert rate['biosRange'] == 'C'
|
||||
assert rate['appearance'] > 0
|
||||
# todo check why rate func is not > 0 is 0
|
||||
assert rate['functionality'] > 0
|
||||
assert rate['rating'] > 0 and rate['rating'] != 1
|
||||
components = snapshot['components']
|
||||
|
|
Reference in a new issue