Change-Id: I7362827b600914ab032ba9657ac17e7bb157bdfc
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
- case_name: cnf_testsuite
project_name: functest
- case_name: cnf_testsuite
project_name: functest
+ # https://github.com/cncf/cnf-certification/blob/main/reviewing.md
+ criteria: 10
blocking: false
description: >-
Enable interoperability of Cloud native Network
blocking: false
description: >-
Enable interoperability of Cloud native Network
msg.add_row([item['name'], item['status']])
if item['status'] == "passed":
item_criteria += 1
msg.add_row([item['name'], item['status']])
if item['status'] == "passed":
item_criteria += 1
+ elif item['status'] == "failed":
self.__logger.warning(
"%s %s", item['name'], item['status'])
self.__logger.info("\n\n%s\n", msg.get_string())
grp = re.search(
self.__logger.warning(
"%s %s", item['name'], item['status'])
self.__logger.info("\n\n%s\n", msg.get_string())
grp = re.search(
- r'Final .* score: (\d+) of (\d+)', output.decode("utf-8"))
+ r'(\d+) of (\d+) essential tests passed', output.decode("utf-8"))
- self.result = int(grp.group(1)) / int(grp.group(2)) * 100
+ # https://github.com/cncf/cnf-certification/blob/main/reviewing.md
+ self.result = int(grp.group(1))
- self.result = item_criteria / len(self.details['items']) * 100
if not os.path.exists(self.res_dir):
os.makedirs(self.res_dir)
shutil.copy2(
if not os.path.exists(self.res_dir):
os.makedirs(self.res_dir)
shutil.copy2(