diff --git a/tests/test_common_options.py b/tests/test_common_options.py index 0de0c85..cf5b338 100644 --- a/tests/test_common_options.py +++ b/tests/test_common_options.py @@ -46,3 +46,14 @@ def test_list_sources_duplicates(): sources = str.split(output, "\n") assert len(sources) == len(set(sources)) + + +# Polarion TC MTA-596 +def test_list_providers(): + kantra_path = os.getenv(constants.KANTRA_CLI_PATH) + command = kantra_path + ' analyze --list-providers' + + output = subprocess.run(command, shell=True, check=True, stdout=subprocess.PIPE, encoding='utf-8').stdout + + for i in ['java', 'python', 'go', 'dotnet', 'nodejs']: + assert i in output, f"Provider '{i}' not found in output."