yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #33385
[Bug 1295280] Re: Dependency Injection always injects optional after import
Optional dependencies are going away soon:
https://review.openstack.org/#/c/162770/
** Changed in: keystone
Status: In Progress => Won't Fix
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1295280
Title:
Dependency Injection always injects optional after import
Status in OpenStack Identity (Keystone):
Won't Fix
Bug description:
Dependency Injection is currently always loading optional dependencies
because they are registered in a _factories list on import, this list
is never cleared. While in practice production wont see this issue,
however, for test cases this is a broken mechanic. Tests cannot clear
the _Factories list because import only occurs once.
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1295280/+subscriptions
References