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:
1.) https://review.openstack.org/#/c/608878
*test_account_generator_no_config_file*
2.) https://review.openstack.org/#/c/620920
*test_account_generator_exist_config_file*
Partially-Implements: blueprint tempest-cli-unit-test-coverage
Change-Id: Ic8dcaff920e5cdfb9a9457ff3a3137c225622409
Closes-Bug: #1766354
1 file changed