tempest/tempest/api/image
Matthew Treinish b86cda92e2 Add tenant isolation for scenario tests
Currently the scenario tests have a race condition between tests
that create a new security group rule to allow ssh on the default
security group. A security group rule can only be added to the same
security group once and when running tempest in parallel this
will cause a possible error because the scenario tests were running
in the same tenant which have the same default security group. This
commit fixes this by adding tenant isolation to the scenario tests
so that each scenario test will have it's own tenant and thus it's
own default security group.

To add tenant isolation for the scenario tests and use the official
python clients without duplicating code the isolated_credential code
was broken out as a separate class in a new file in tempest/common.
This class will either use the tempest identity client or
python-keystone client depending on whether it for an api test or a
scenario test.

Part of blueprint speed-up-tempest

Change-Id: Icaffd0c40f55d94014ab4758b392bf5c38f0b0f6
2013-08-12 19:16:52 +00:00
..
v1 Use assertIn and assertNotIn instead of assertTrue/assertFalse 2013-07-29 14:52:33 +02:00
v2 add image tests v2 2013-08-01 17:46:38 +08:00
__init__.py rename tests -> api 2013-05-20 17:20:54 -04:00
base.py Add tenant isolation for scenario tests 2013-08-12 19:16:52 +00:00