diff options
author | Jamie Lennox <jamielennox@redhat.com> | 2015-01-09 09:16:37 +1000 |
---|---|---|
committer | Jamie Lennox <jamielennox@redhat.com> | 2015-01-27 09:24:12 +1000 |
commit | 36eaea8208ab3e4b077f21b4c8eb95716296e9c6 (patch) | |
tree | aeb9c1afa66c7a6b0d177595364f3ea4958feafd /heat/tests/test_swift.py | |
parent | 055fa384f35732d294630f707d847cf86b08a59b (diff) | |
download | heat-36eaea8208ab3e4b077f21b4c8eb95716296e9c6.tar.gz |
Use keystoneclient auth plugins
This is the first step in converting to using keystoneclient auth
plugins. It moves responsibility for controlling authentication away
from the keystoneclient and onto the equivalent functions provided by
the context. The existing functions are left for now with redirects to
the context.
Have the context create an authentication plugin for the user
credentials in the same way that keystoneclient used to. This involves
updating a number of tests as we need to stub authentication information
from the context and not the client.
Change-Id: Ifeb5c99387aec0eb5dce3f2744388c948d78a2bb
Diffstat (limited to 'heat/tests/test_swift.py')
-rw-r--r-- | heat/tests/test_swift.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/heat/tests/test_swift.py b/heat/tests/test_swift.py index 55cd84cce..23423cba6 100644 --- a/heat/tests/test_swift.py +++ b/heat/tests/test_swift.py @@ -77,7 +77,7 @@ class swiftTest(common.HeatTestCase): self.m.StubOutWithMock(sc.Connection, 'delete_object') self.m.StubOutWithMock(sc.Connection, 'head_container') self.m.StubOutWithMock(sc.Connection, 'get_auth') - self.stub_keystoneclient() + self.stub_auth() def create_resource(self, t, stack, resource_name): resource_defns = stack.t.resource_definitions(stack) |