chg: [tests] misp_instance_version_master now uses the 2.5 branch

pull/1304/head
iglocska 2024-10-04 13:26:02 +02:00
parent 865a8a50ca
commit 7599037e94
No known key found for this signature in database
GPG Key ID: BEA224F1FEF113AC
1 changed files with 1 additions and 1 deletions

View File

@ -315,7 +315,7 @@ class PyMISP:
@property
def misp_instance_version_master(self) -> dict[str, Any] | list[dict[str, Any]]:
"""Get the most recent version from github"""
r = requests.get('https://raw.githubusercontent.com/MISP/MISP/2.4/VERSION.json')
r = requests.get('https://raw.githubusercontent.com/MISP/MISP/2.5/VERSION.json')
if r.status_code == 200:
master_version = loads(r.content)
return {'version': '{}.{}.{}'.format(master_version['major'], master_version['minor'], master_version['hotfix'])}