Commit 25769b25 authored by Nitanshu's avatar Nitanshu Committed by Guillaume Binet Fix invalid variable name (#1241)

parent b9fae4a7
......@@ -477,7 +477,7 @@ class TestBot(object):
plugin =
if plugin is None:
raise Exception(f'"{PluginName}" is not loaded.')
raise Exception(f'"{plugin_name}" is not loaded.')
for field, mock_obj in mock_dict.items():
if not hasattr(plugin, field):
raise ValueError(f'No property/attribute named "{field}" attached.')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment