Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add layer to load ZCML [TD] #342

Open
icemac opened this issue Oct 3, 2018 · 0 comments
Open

Add layer to load ZCML [TD] #342

icemac opened this issue Oct 3, 2018 · 0 comments
Milestone

Comments

@icemac
Copy link
Member

icemac commented Oct 3, 2018

Some tests need the ZCML to be loaded, currently each tests calls:

Zope2.App.zcml.load_site(force=True)

It has to be done in each test needing loaded ZCML because Zope has many tests which call zope.testing.cleanup.cleanUp() which then cleans the component registry.

This should be done on a zope.testrunner layer. This layer should be used in the Zope tests.

@icemac icemac added this to the 4.0 final milestone Oct 30, 2018
@icemac icemac modified the milestones: 4.0 final, 5.0 May 6, 2019
@icemac icemac changed the title Add layer to load ZCML Add layer to load ZCML [TD] May 6, 2019
@icemac icemac modified the milestones: 5.0, 5.1 Oct 2, 2020
@icemac icemac modified the milestones: 5.1, 5.2 Apr 20, 2021
@icemac icemac modified the milestones: 5.2, 5.4 Nov 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant