From b04e875b4f55e2b1d5e3c2d4f023d2e677aceccc Mon Sep 17 00:00:00 2001 From: Krystle Salazar Date: Tue, 11 Jun 2024 18:42:09 -0400 Subject: [PATCH] Fix test --- ingestion_server/test/unit_tests/test_cleanup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ingestion_server/test/unit_tests/test_cleanup.py b/ingestion_server/test/unit_tests/test_cleanup.py index 696a873c065..02cc6d047e2 100644 --- a/ingestion_server/test/unit_tests/test_cleanup.py +++ b/ingestion_server/test/unit_tests/test_cleanup.py @@ -47,12 +47,12 @@ def test_url_protocol_fix(): tls_support_cache = {} pook.get("https://flickr.com").reply(200) result = CleanupFunctions.cleanup_url(bad_url, tls_support_cache) - expected = "'https://flickr.com'" + expected = "https://flickr.com" bad_http = "neverssl.com" pook.get("https://neverssl.com").reply(500) result_http = CleanupFunctions.cleanup_url(bad_http, tls_support_cache) - expected_http = "'http://neverssl.com'" + expected_http = "http://neverssl.com" assert result == expected assert result_http == expected_http