Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We're importing zope.app.authentication as authentication, and then trying to access zope.app.authentication.authentication.QuerySchemaSearchAdapter without first explicitly importing zope.app.authentication.authentication. It used to work because some other piece of test happened to import zope.app.authentication.authentication first, but now it started failing on winbot for no particular reason: http://winbot.zope.org/builders/zope.app.authentication_py_265_32/builds/1454
- Loading branch information
5545a30
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think I know why this used to work and then started failing last night: zope.testrunner 4.4.5 was released and it changed the ordering of test layers. Now unit tests are run first, so they can no longer rely on the functional test layer to import all the desired modules for them.