summaryrefslogtreecommitdiff
path: root/test-cli/test/tests/qrtc.py
diff options
context:
space:
mode:
Diffstat (limited to 'test-cli/test/tests/qrtc.py')
-rw-r--r--test-cli/test/tests/qrtc.py33
1 files changed, 3 insertions, 30 deletions
diff --git a/test-cli/test/tests/qrtc.py b/test-cli/test/tests/qrtc.py
index 6d4ecf6..df493d2 100644
--- a/test-cli/test/tests/qrtc.py
+++ b/test-cli/test/tests/qrtc.py
@@ -33,41 +33,14 @@ class Qrtc(unittest.TestCase):
p.stdout.decode('ascii'))
# check if the seconds of both times are different
if time1 == time2:
- self.__resultlist.append(
- {
- "desc": "Test result",
- "data": "FAILED: RTC is not running",
- "type": "string"
- }
- )
self.fail("failed: RTC is not running")
else:
- self.__resultlist.append(
- {
- "desc": "Test result",
- "data": "FAILED: couldn't execute hwclock command for the second time",
- "type": "string"
- }
- )
self.fail("failed: couldn't execute hwclock command for the second time")
else:
- self.__resultlist.append(
- {
- "desc": "Test result",
- "data": "FAILED: couldn't execute hwclock command",
- "type": "string"
- }
- )
self.fail("failed: couldn't execute hwclock command")
- # Test successful
- self.__resultlist.append(
- {
- "desc": "Test result",
- "data": "OK",
- "type": "string"
- }
- )
-
def getresults(self):
return self.__resultlist
+
+ def gettextresult(self):
+ return ""