fix NameError

This commit is contained in:
debugtalk
2018-12-20 22:42:42 +08:00
parent f18d892876
commit ef58073afc

View File

@@ -310,7 +310,7 @@ def __extend_with_api_ref(raw_testinfo):
# NOTICE: avoid project_mapping been changed during iteration.
raw_testinfo["api_def"] = utils.deepcopy_dict(block)
except KeyError:
raise exceptions.ApiNotFound("{} not found!".format(name))
raise exceptions.ApiNotFound("{} not found!".format(api_name))
def __extend_with_testcase_ref(raw_testinfo):