heat/heat/tests/aws
Dan Prince 14b0451fc9 Move FakeKeystoneClient to engine.clients
Add the ability to consume FakeKeystoneClient class as a client
module. This avoids extra dependencies on the Python mox/mox3
libraries at runtime and allows the end user to wire in the
custom class by simply making the following config setting:

  keystone_backend = heat.engine.clients.os.keystone.fake_keystoneclient.FakeKeystoneClient

This use case for this is the TripleO undercloud installer which
uses a heat-all process to transform heat templates into Ansible
playbooks. Previously we leveraged a "fake_keystone" service
as multiple applications and binaries required keystone dependencies.
(Both Heat, os-collect-config, and some openstackclients wanted
 a fully version of keystone running)

Now that we've streamlined these dependencies allowing heat to use
a fake KeystoneClient library shim instead of the full fake_keystone
process is much lighter and avoids the security concerns of the extra
socket. This patch allows us to do all of this without installing extra
test time dependencies on mox/mox3.

Change-Id: I03f1789957ba157871fd13164592116d7fcdabe4
Closes-bug: #1723639
2017-10-24 11:45:31 -04:00
..
__init__.py Enable some unit tests back 2015-02-03 10:20:16 +08:00
test_eip.py Use StackDefinition in intrinsic functions for resolving data 2017-07-21 10:30:34 -04:00
test_instance.py Remove usage of parameter enforce_type 2017-05-08 17:55:32 +08:00
test_instance_network.py Use more specific asserts in tests 2016-11-22 08:12:35 +01:00
test_loadbalancer.py Use StackDefinition in intrinsic functions for resolving data 2017-07-21 10:30:34 -04:00
test_network_interface.py Unit tests: compare stack names in PhysName 2016-03-10 13:07:29 -05:00
test_s3.py Remove usage of parameter enforce_type 2017-05-08 17:55:32 +08:00
test_security_group.py Fix python-novaclient 8.0.0 related issues 2017-05-16 16:12:04 +02:00
test_user.py Move FakeKeystoneClient to engine.clients 2017-10-24 11:45:31 -04:00
test_volume.py Replace assertRaisesRegexp with assertRaisesRegex 2017-05-19 18:13:59 +05:30
test_waitcondition.py Use StackDefinition in intrinsic functions for resolving data 2017-07-21 10:30:34 -04:00