Public bug reported:
The tests shouldn't be relying on the provider being loaded by importing a module. When the server is actually run, it only imports the module if the extension is in the paste pipeline, and the tests shoud work similarly. Also, tests shouldn't be using @dependency.requires to inject dependencies -- this is for use by keystone server parts. The tests have their own way of getting dependencies injected by loading the manager, which is similar to how the Keystone server works. ** Affects: keystone Importance: Undecided Assignee: Brant Knudson (blk-u) Status: In Progress ** Changed in: keystone Assignee: (unassigned) => Brant Knudson (blk-u) -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Keystone. https://bugs.launchpad.net/bugs/1408389 Title: Tests shouldn't rely on provider registration by import Status in OpenStack Identity (Keystone): In Progress Bug description: The tests shouldn't be relying on the provider being loaded by importing a module. When the server is actually run, it only imports the module if the extension is in the paste pipeline, and the tests shoud work similarly. Also, tests shouldn't be using @dependency.requires to inject dependencies -- this is for use by keystone server parts. The tests have their own way of getting dependencies injected by loading the manager, which is similar to how the Keystone server works. To manage notifications about this bug go to: https://bugs.launchpad.net/keystone/+bug/1408389/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp