Skip to content

Add support for loading Products.* packages outside the Products install folder #81

Closed
@gforcada

Description

@gforcada

See plone/Products.CMFDynamicViewFTI@2531d00 for the actual code (from plone/Products.CMFDynamicViewFTI#24)

Rationale:

If you are running tests from within a Products.* distribution you will probably have all other Products installed somewhere in lib/python3.11/site-packages/... but the distribution under test will be used from its source files.

Turns out that plone.testing specifically looks for Products.* distributions to be always from the very same location, ignoring distributions that are used outside the Products folder within site-packages.

Do we still need this specific check, or is a relic of the past? 🤔

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions