diff --git a/monkey/tests/unit_tests/monkey_island/cc/test_version.py b/monkey/tests/unit_tests/monkey_island/cc/test_version.py index c7b9e9cad..7fc8ca38b 100644 --- a/monkey/tests/unit_tests/monkey_island/cc/test_version.py +++ b/monkey/tests/unit_tests/monkey_island/cc/test_version.py @@ -29,7 +29,7 @@ def test_version__request_failed(monkeypatch, request_mock): monkeypatch.setattr("requests.get", request_mock) version = Version(version_number="1.0.0", deployment=Deployment.DEVELOP) version._initialization_complete.wait() - assert version.latest_version is None + assert version.latest_version == "1.0.0" assert version.download_url is None