Dependency Injection always injects optional after import
Bug #1295280 reported by
Morgan Fainberg
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Won't Fix
|
Low
|
Kent Wang |
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.
Changed in keystone: | |
importance: | Undecided → Medium |
importance: | Medium → Low |
status: | New → Confirmed |
status: | Confirmed → Triaged |
Changed in keystone: | |
assignee: | nobody → Kent Wang (k.wang) |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/186571
Review: https:/