coo
On Mar 29, 2014 6:56 PM, "Richard Duarte" <notifications@github.com> wrote:

> In installation_tests/test_installs.py:
>
> >
> > +ROLES_PKG_NAME = "roles"
> > +ROLES_DIR = path.join(path.dirname(path.realpath(__file__)), ROLES_PKG_NAME)
> > +
> > +def dynamicallyLoadModule(name):
> > +    """
> > +    Helper function. Loads a module dynamically from the ROLES_PKG_DIR location
> > +    @param name: The name of the module to load from roles
> > +    @return: The module that has been loaded
> > +    """
> > +    f, file, desc=imp.find_module(name, [ROLES_DIR])
>
> That is intentional. If it fails there, I want it to catastrophically fail
> because it means your config is screwed up.
> ... <#14510b3a0289221a_>
> On Mar 29, 2014 6:45 PM, "Lih Chen" <notifications@github.com> wrote: In
> installation_tests/test_installs.py: > > +ROLES_PKG_NAME = "roles" >
> +ROLES_DIR = path.join(path.dirname(path.realpath(__file__)),
> ROLES_PKG_NAME) > + > +def dynamicallyLoadModule(name): > + """ > + Helper
> function. Loads a module dynamically from the ROLES_PKG_DIR location > +
> @param <https://github.com/param> name: The name of the module to load
> from roles > + @return <https://github.com/return>: The module that has
> been loaded > + """ > + f, file, desc=imp.find_module(name, [ROLES_DIR])
> This line may throw an exception. Will nose test get angry in that case? --
> Reply to this email directly or view it on GitHub<
> https://github.com/DemandCube/QA-NeverwinterDP/pull/1/files#r11096310> .
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/DemandCube/QA-NeverwinterDP/pull/1/files#r11096356>
> .
>