diff options
author | Jules Clero <julesx.clero@intel.com> | 2015-02-11 09:32:10 +0100 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2015-04-24 13:39:12 -0700 |
commit | b779e16d893bebfea8d5f37d0dbb5c36d95a1c91 (patch) | |
tree | 90f403cad38c891c5fd5be405aa0dd04363cad73 /test | |
parent | ce5806826cea1494b12dfacf1f15f314b549dcdd (diff) | |
download | external_parameter-framework-b779e16d893bebfea8d5f37d0dbb5c36d95a1c91.zip external_parameter-framework-b779e16d893bebfea8d5f37d0dbb5c36d95a1c91.tar.gz external_parameter-framework-b779e16d893bebfea8d5f37d0dbb5c36d95a1c91.tar.bz2 |
Fix tRAW test comparison error
This test is comparing lower case hexadecimal to upper case
hexadecimal number. The test was failing because
0xFF is not 0xff when we compare string. As 0xff is read back
from filesystem, we now compare it to the right value.
Signed-off-by: Jules Clero <julesx.clero@intel.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/functional-tests/PfwTestCase/Types/tRAW.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/functional-tests/PfwTestCase/Types/tRAW.py b/test/functional-tests/PfwTestCase/Types/tRAW.py index 6c96bfa..8153c32 100644 --- a/test/functional-tests/PfwTestCase/Types/tRAW.py +++ b/test/functional-tests/PfwTestCase/Types/tRAW.py @@ -201,7 +201,8 @@ class TestCases(PfwTestCase): """ log.D(self.test_03_WRaw_RHex_Nominal_Case.__doc__) value = "0xFF00" - filesystem_value = "0xFF00" + # When read back, parameter value will be in lowercase + filesystem_value = "0xff00" blackboard_value = "0xFF00" value_space = "raw" outputraw_format = "hex" |