summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--nova/tests/api/openstack/fakes.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/nova/tests/api/openstack/fakes.py b/nova/tests/api/openstack/fakes.py
index 5decb2bad..020682093 100644
--- a/nova/tests/api/openstack/fakes.py
+++ b/nova/tests/api/openstack/fakes.py
@@ -240,7 +240,8 @@ class FakeAuthManager(object):
@classmethod
def reset_fake_data(cls):
- cls.auth_data = dict(u1=User('id1', 'guy1', 'acc1', 'secret1', False))
+ u1 = User('id1', 'guy1', 'acc1', 'secret1', False)
+ cls.auth_data = [u1]
cls.projects = dict(testacct=Project('testacct',
'testacct',
'id1',