Add todo in tests rate and workbench

This commit is contained in:
JNadeu 2018-10-25 12:39:33 +02:00
parent e17352879a
commit 73c79fc827
2 changed files with 3 additions and 1 deletions

View File

@ -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():

View File

@ -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']