Bases: fixtures.fixture.Fixture
Example tokens and certs loaded from the examples directory.
To use this class correctly, the module needs to override the test suite class to use testresources.OptimisingTestSuite (otherwise the files will be read on every test). This is done by defining a load_tests function in the module, like this:
(see http://docs.python.org/2/library/unittest.html#load-tests-protocol )
Bases: keystonemiddleware.tests.unit.test_ec2_token_middleware.EC2TokenMiddlewareTestBase
Bases: keystonemiddleware.tests.unit.utils.TestCase
Bases: keystonemiddleware.tests.unit.test_ec2_token_middleware.EC2TokenMiddlewareTestBase
Bases: object
This represents a WSGI app protected by the auth_token middleware.
Bases: keystonemiddleware.tests.unit.utils.BaseTestCase
Bases: keystonemiddleware.tests.unit.auth_token.test_auth_token_middleware.BaseAuthTokenMiddlewareTest
Bases: keystonemiddleware.tests.unit.utils.TestCase
Bases: object
This represents a WSGI app protected by the auth_token middleware.
Bases: keystonemiddleware.tests.unit.test_s3_token_middleware.S3TokenMiddlewareTestBase
Bases: keystonemiddleware.tests.unit.utils.TestCase
Bases: keystonemiddleware.tests.unit.test_s3_token_middleware.S3TokenMiddlewareTestBase
Bases: oslotest.base.BaseTestCase
Bases: fixtures.fixture.Fixture
A fixture to provide support for unloading/disabling modules.
Ensure ImportError for the specified module.
Bases: keystonemiddleware.tests.unit.utils.BaseTestCase
Bases: object
Disallow further imports of ‘module’.
Bases: keystonemiddleware.tests.unit.utils.BaseTestCase