From cfe40d367a8c2d4baf695b77b4f4ab4e3b0cd836 Mon Sep 17 00:00:00 2001 From: Ilia Kurenkov Date: Mon, 16 Sep 2024 08:03:32 +0200 Subject: [PATCH] Fix test for license validation --- ddev/tests/cli/validate/test_licenses.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ddev/tests/cli/validate/test_licenses.py b/ddev/tests/cli/validate/test_licenses.py index e3198b9e22a19..ef445d6f25abc 100644 --- a/ddev/tests/cli/validate/test_licenses.py +++ b/ddev/tests/cli/validate/test_licenses.py @@ -81,7 +81,7 @@ def test_invalid_requirement(repository, ddev, helpers): with agent_requirements_path.open(encoding='utf-8') as file: requirements = file.readlines() - requirements[0] = requirements[0].replace('==', '==^') + requirements[0] = "aerospike==^4.0.0; sys_platform != 'win32' and sys_platform != 'darwin'\n" with agent_requirements_path.open(mode='w', encoding='utf-8') as file: file.writelines(requirements[:3])