def test_unimportablePackageWalkModules(self):
        existentPath = self.pathEntryWithOnePackage()
        self.replaceSysPath([existentPath.path])
        self.replaceSysModules({"test_package": None})

        walked = list(modules.walkModules())
        self.assertEqual([m.name for m in walked],
                          ["test_package"])
        self.assertEqual(walked[0].isLoaded(), False)
Loads a JSON or YAML config for a given plugin
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/test/test_modules.py/BasicTests.test_unimportablePackageWalkModules--crossover with--dataset/ETHPy150Open JohnMaguire/Cardinal/cardinal/plugins.py/PluginManager._load_plugin_config