Commit 8b260e5b authored by Arnaud Fontaine's avatar Arnaud Fontaine

ZODB Components: Unit Tests: Fix "NameError: global name 'full_module_name' is not defined".

parent 78356c43
......@@ -1358,8 +1358,8 @@ class _TestZodbComponent(SecurityTestCase):
except ImportError:
pass
else:
self.fail("Component '%s' should not have been generated" % \
full_module_name)
self.fail("Component '%s' should not have been generated" %
self._getComponentFullModuleName(module_name))
self._component_tool.reset(force=True,
reset_portal_type_at_transaction_boundary=False)
......@@ -1376,8 +1376,8 @@ class _TestZodbComponent(SecurityTestCase):
try:
self._importModule(module_name)
except ImportError:
self.fail("Component '%s' should have been generated" % \
full_module_name)
self.fail("Component '%s' should have been generated" %
self._getComponentFullModuleName(module_name))
if expected_default_version is not None:
top_module_name = self._getComponentModuleName()
......
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