I suspect the remaining issues are related, and stem from how the breezy.testingplugins module is created in test_plugins.py BaseTestPlugins.setUp(). This is a dynamically created module established in that routine via:
I wonder if whatever caused the '.' import to fail maybe results in this dynamic creation to fail as well?
The machinery here (BaseTestPlugins.reset() in particular) is also munging things and adjusting caches, which may play into the odd caching behavior Christian mentions in LP: #1937173
I suspect the remaining issues are related, and stem from how the breezy. testingplugins module is created in test_plugins.py BaseTestPlugins .setUp( ). This is a dynamically created module established in that routine via:
self.module = types.ModuleTyp e(self. module_ name) ttr(plugin, "_MODULE_PREFIX", self.module_prefix) ttr(breezy, "testingplugins", self.module) self.module_ name] = self.module
self.overrideA
self.overrideA
sys.modules[
I wonder if whatever caused the '.' import to fail maybe results in this dynamic creation to fail as well?
The machinery here (BaseTestPlugin s.reset( ) in particular) is also munging things and adjusting caches, which may play into the odd caching behavior Christian mentions in LP: #1937173