diff options
| author | Jenkins <jenkins@review.openstack.org> | 2015-11-02 14:00:17 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2015-11-02 14:00:17 +0000 |
| commit | 785ced37ae54631cedcc6fdc8aa3cb009d09e2d2 (patch) | |
| tree | bdb125c5087b215df55f36f9e0a6c80e8e4f060c /glanceclient/tests/functional | |
| parent | c0975934c098cb8600ee1e782155a076f834be5a (diff) | |
| parent | 8a4cd7916b86ae5c4b3948af1d3d5a8cd599ee4b (diff) | |
| download | python-glanceclient-785ced37ae54631cedcc6fdc8aa3cb009d09e2d2.tar.gz | |
Merge "Add documentation for running the functional tests"
Diffstat (limited to 'glanceclient/tests/functional')
| -rw-r--r-- | glanceclient/tests/functional/README.rst | 25 |
1 files changed, 19 insertions, 6 deletions
diff --git a/glanceclient/tests/functional/README.rst b/glanceclient/tests/functional/README.rst index 01b732f..123b82d 100644 --- a/glanceclient/tests/functional/README.rst +++ b/glanceclient/tests/functional/README.rst @@ -25,11 +25,24 @@ would involve a non trivial amount of work. Functional Test Guidelines --------------------------- -* Consume credentials via standard client environmental variables:: +The functional tests require: - OS_USERNAME - OS_PASSWORD - OS_TENANT_NAME - OS_AUTH_URL +1) A working Glance/Keystone installation (eg devstack) +2) A yaml file containing valid credentials -* Try not to require an additional configuration file +If you are using devstack a yaml file will have been created for you. + +If you are not using devstack you should create a yaml file +with the following format: + + clouds: + devstack-admin: + auth: + auth_url: http://10.0.0.1:35357/v2.0 + password: example + project_name: admin + username: admin + identity_api_version: '2.0' + region_name: RegionOne + +and copy it to ~/.config/openstack/clouds.yaml |
