rally/tests/unit
Zhongcheng Lao 42fcb22627 Pass username/password to client
Currently when python clients are called, Rally authenticates
with keystone client then pass then token to the clients.
This behavior will break the test when the token gets expired.

When the token gets expired, the operations using the token
will receive a 401 error which instructs the clients to
re-new the token with the user crendentials. The python clients
will re-authenticate and try to re-send the operation request.

However, since the credentials are not passed by Rally,
the clients are unable to re-authenticate in which case
the operation will fail and break the test.

This patch is going to pass the credentials to the python clients
to allow the test go beyond the token expiration time.

This patch mainly focus on nova and neutron.
Please note that some clients do not support this
re-authentication mechanism.

Change-Id: I2732e9c7053005b265df3122181f99544d4b6100
2015-04-05 16:09:50 +08:00
..
benchmark Merge "Add murano benchmarks" 2015-04-03 23:27:25 +00:00
cmd Adds endpoint to --fromenv deployment creation 2015-04-02 16:02:37 +03:00
common [Tempest]: Try to find py27 interpreter 2015-03-20 00:53:37 +02:00
db Allow setting DB for unittests via env & add psql support 2015-01-24 03:08:12 +03:00
deploy configure ssl in deployment config 2015-04-03 10:01:47 +08:00
doc Introduce in-tree Rally specs 2015-03-08 02:25:17 +03:00
objects configure ssl in deployment config 2015-04-03 10:01:47 +08:00
rally_jobs Switch to the new Rally API 2015-02-03 15:34:54 +03:00
ui Base HTML templates and improvements for task report 2014-11-18 19:32:30 +02:00
verification Merge "Load OpenStack clients only if those are used" 2015-04-01 00:28:17 +00:00
__init__.py Reorganize test module structure 2014-10-07 13:50:40 +00:00
fakes.py Add boot server scenario for EC2 API 2015-03-24 10:38:53 +01:00
test_api.py configure ssl in deployment config 2015-04-03 10:01:47 +08:00
test_docstrings.py Fix py3k issues 2015-01-06 13:01:30 +02:00
test_fuelclient.py Replace ' with " in tests/unit/[aas,cmd] 2015-02-04 10:41:00 -06:00
test_hacking.py Improve hacking and remove useless unit tests 2015-03-16 14:55:17 +03:00
test_log.py Remove all non-incubated oslo code 2015-02-23 14:31:36 +00:00
test_osclients.py Pass username/password to client 2015-04-05 16:09:50 +08:00
test_resources.py Remove all non-incubated oslo code 2015-02-23 14:31:36 +00:00
test.py Merge "Fix all py3 related issues" 2015-01-27 23:23:34 +00:00