summaryrefslogtreecommitdiff
path: root/test-cli/test/tests/qeeprom.py
diff options
context:
space:
mode:
Diffstat (limited to 'test-cli/test/tests/qeeprom.py')
-rw-r--r--test-cli/test/tests/qeeprom.py33
1 files changed, 3 insertions, 30 deletions
diff --git a/test-cli/test/tests/qeeprom.py b/test-cli/test/tests/qeeprom.py
index cafbc7f..7fc9fcd 100644
--- a/test-cli/test/tests/qeeprom.py
+++ b/test-cli/test/tests/qeeprom.py
@@ -36,41 +36,14 @@ class Qeeprom(unittest.TestCase):
# compare both values
if data_rx != data_tx:
# Both data are different
- self.__resultlist.append(
- {
- "desc": "Test result",
- "data": "FAILED: mismatch between written and received values.",
- "type": "string"
- }
- )
self.fail("failed: mismatch between written and received values.")
else:
- self.__resultlist.append(
- {
- "desc": "Test result",
- "data": "FAILED: Unable to read from the EEPROM device.",
- "type": "string"
- }
- )
self.fail("failed: Unable to read from the EEPROM device.")
else:
- self.__resultlist.append(
- {
- "desc": "Test result",
- "data": "FAILED: Unable to write on the EEPROM device.",
- "type": "string"
- }
- )
self.fail("failed: Unable to write on the EEPROM device.")
- # Test successful
- self.__resultlist.append(
- {
- "desc": "Test result",
- "data": "OK",
- "type": "string"
- }
- )
-
def getresults(self):
return self.__resultlist
+
+ def gettextresult(self):
+ return ""