From 6dc29e36e2736ae7a596e85bf1c36d1679316bcf Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Fri, 12 Aug 2022 10:16:46 -0400 Subject: [PATCH] UT: Fix test_version__request_failed() --- monkey/tests/unit_tests/monkey_island/cc/test_version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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