Simplify ShowTestID()

make it a non-class function, stateless, more information on the current
CI step (the number).
This commit is contained in:
Robert Schmidt
2025-08-06 12:23:59 +02:00
parent 28ce0dc444
commit dcbb3369e1
2 changed files with 8 additions and 14 deletions
-7
View File
@@ -258,7 +258,6 @@ class OaiCiTest():
self.testCase_id = ''
self.testXMLfiles = []
self.desc = ''
self.ping_args = ''
self.ping_packetloss_threshold = ''
self.ping_rttavg_threshold =''
@@ -891,9 +890,3 @@ class OaiCiTest():
d = f'{SourceCodePath}/cmake_targets'
cmd.run(f'rm -f {d}/build.log.zip')
cmd.run(f'cd {d} && zip -r build.log.zip build_log_*/*')
def ShowTestID(self):
logging.info(f'\u001B[1m----------------------------------------\u001B[0m')
logging.info(f'\u001B[1m Test ID: {self.testCase_id} \u001B[0m')
logging.info(f'\u001B[1m {self.desc} \u001B[0m')
logging.info(f'\u001B[1m----------------------------------------\u001B[0m')