summaryrefslogtreecommitdiffstats
path: root/keystone/test.py
diff options
context:
space:
mode:
authorBrant Knudson <bknudson@us.ibm.com>2013-07-19 16:40:35 -0500
committerBrant Knudson <bknudson@us.ibm.com>2013-07-31 12:03:41 -0500
commit3c6cc9e838cacd1f7c0a3cfc89b0f66b23851803 (patch)
treeb56b1eb1685222bedd149adf1793e459f3c5cbbd /keystone/test.py
parent19081b834991d263d84c761dcf422a8c9faf40a1 (diff)
downloadkeystone-3c6cc9e838cacd1f7c0a3cfc89b0f66b23851803.tar.gz
keystone-3c6cc9e838cacd1f7c0a3cfc89b0f66b23851803.tar.xz
keystone-3c6cc9e838cacd1f7c0a3cfc89b0f66b23851803.zip
Handle circular dependencies
The dependency injection code doesn't handle circular dependencies. This change makes it so that the dependency injection code allows circular dependencies. Part of fix for bug 1204605 Change-Id: I8de166a352ac727c7ddf27bae420b7c7ab22415f
Diffstat (limited to 'keystone/test.py')
-rw-r--r--keystone/test.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/keystone/test.py b/keystone/test.py
index d06ea4c5..55aca3c6 100644
--- a/keystone/test.py
+++ b/keystone/test.py
@@ -271,6 +271,8 @@ class TestCase(NoModule, unittest.TestCase):
manager_name = '%s_api' % manager.__name__.split('.')[-1]
setattr(self, manager_name, manager.Manager())
+ dependency.resolve_future_dependencies()
+
def load_fixtures(self, fixtures):
"""Hacky basic and naive fixture loading based on a python module.