Fixing ignored value of --config parameter in tempest account-generator
Config parameter of tempest account-generator was ignored.
Instead of that default location of config file were used.
If tempest.conf file doesn't exist on default location
then command was failing.
It never used the config file value from command line.
Command was running successfully only when running from tempest
directory or tempest.conf exist in current directory
Reviewed: https:/ /review. openstack. org/577730 /git.openstack. org/cgit/ openstack/ tempest/ commit/ ?id=3e99c043294 38a6e9e96101ed1 bb4dc842c85612
Committed: https:/
Submitter: Zuul
Branch: master
commit 3e99c04329438a6 e9e96101ed1bb4d c842c85612
Author: Manik Bindlish <email address hidden>
Date: Mon Jun 25 06:22:31 2018 +0000
Fixing ignored value of --config parameter in tempest account-generator
Config parameter of tempest account-generator was ignored.
Instead of that default location of config file were used.
If tempest.conf file doesn't exist on default location
then command was failing.
It never used the config file value from command line.
Command was running successfully only when running from tempest
directory or tempest.conf exist in current directory
Test cases from below patches are relevant for this patch: /review. openstack. org/#/c/ 608878
*test_ account_ generator_ no_config_ file*
1.) https:/
2.) https:/ /review. openstack. org/#/c/ 620920
*test_ account_ generator_ exist_config_ file*
Partially- Implements: blueprint tempest- cli-unit- test-coverage
Change-Id: Ic8dcaff920e5cd fb9a9457ff3a313 7c225622409
Closes-Bug: #1766354