Skip to content

Suggestion: run import on all python modules with a __init__.py #4142

Description

@akesandgren

When installing a pythonpackage/bundle we could got through the installed modules and for everything that has a __init__.py we could run "import xxx" to verify that it has all things it depends on.

This could be done in a python loop which has exception handling for failed loads and prints which modules fail and why.
I.e. instead of setting up one test env for each module, do them all in one swoop.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions