yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #27659
[Bug 1408389] Re: Tests shouldn't rely on provider registration by import
** Changed in: keystone
Status: Fix Committed => Fix Released
--
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):
Fix Released
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
References