mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-07-24 13:01:56 +00:00
fix(version): add timeout and check HTTP errors (#2886)
This commit is contained in:
@@ -17,7 +17,7 @@ MOCK_PROWLER_VERSION = "3.3.0"
|
||||
MOCK_OLD_PROWLER_VERSION = "0.0.0"
|
||||
|
||||
|
||||
def mock_prowler_get_latest_release(_):
|
||||
def mock_prowler_get_latest_release(_, **kwargs):
|
||||
"""Mock requests.get() to get the Prowler latest release"""
|
||||
response = Response()
|
||||
response._content = b'[{"name":"3.3.0"}]'
|
||||
|
||||
Reference in New Issue
Block a user