https://build.opnfv.org/ci/view/functest/job/functest-apex-baremetal-daily-master/188/console
Change-Id: Ic412c5b55169f599bd9cdb623f349dd2220940db
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
LOGGER.exception("Cannot import module %s", run_dict['module'])
except AttributeError:
LOGGER.exception("Cannot get class %s", run_dict['class'])
+ except Exception: # pylint: disable=broad-except
+ LOGGER.exception(
+ "\n\nPlease fix the testcase %s.\n"
+ "All exceptions should be caught by the testcase instead!"
+ "\n\n",
+ test.get_name())
else:
raise Exception("Cannot import the class for the test case.")
return result