fix(image): add image provider to parser test usage string and mock

The hardcoded usage string and mock_get_available_providers in
parser_test.py did not include the image provider, causing 7 test
failures in CI.
This commit is contained in:
Andoni A.
2026-02-09 10:07:46 +01:00
parent 41e972e088
commit cc1197d632
+2 -1
View File
@@ -17,7 +17,7 @@ prowler_command = "prowler"
# capsys
# https://docs.pytest.org/en/7.1.x/how-to/capture-stdout-stderr.html
prowler_default_usage_error = "usage: prowler [-h] [--version] {aws,azure,gcp,kubernetes,m365,github,nhn,mongodbatlas,oraclecloud,alibabacloud,cloudflare,openstack,dashboard,iac} ..."
prowler_default_usage_error = "usage: prowler [-h] [--version] {aws,azure,gcp,kubernetes,m365,github,nhn,mongodbatlas,oraclecloud,alibabacloud,cloudflare,openstack,dashboard,iac,image} ..."
def mock_get_available_providers():
@@ -29,6 +29,7 @@ def mock_get_available_providers():
"m365",
"github",
"iac",
"image",
"nhn",
"mongodbatlas",
"oraclecloud",