Merge "Remove the deprecated verify-tempest-config CLI"

This commit is contained in:
Zuul 2020-02-17 14:16:41 +00:00 committed by Gerrit Code Review
commit c6747367f4
3 changed files with 7 additions and 10 deletions

View File

@ -0,0 +1,7 @@
---
upgrade:
- |
Remove the deprecated CLI ``verify-tempest-config`` in favour of
``tempest verify-config`` command.
You can use ``tempest verify-config`` CLI to verify the tempest
conf file.

View File

@ -28,7 +28,6 @@ data_files =
[entry_points]
console_scripts =
verify-tempest-config = tempest.cmd.verify_tempest_config:main
tempest-account-generator = tempest.cmd.account_generator:main
tempest = tempest.cmd.main:main
skip-tracker = tempest.lib.cmd.skip_tracker:main

View File

@ -433,11 +433,6 @@ def parse_args():
def main(opts=None):
print('Running config verification...')
if opts is None:
print("Use of: 'verify-tempest-config' is deprecated, "
"please use: 'tempest verify-config'")
opts = parse_args()
update = opts.update
replace = opts.replace_ext
global CONF_PARSER
@ -497,7 +492,3 @@ class TempestVerifyConfig(command.Command):
LOG.exception("Failure verifying configuration.")
traceback.print_exc()
raise
if __name__ == "__main__":
main()