diff --git a/tests/integration_tests/modules/test_apt.py b/tests/integration_tests/modules/test_apt.py index adab46a8c1e..6b3a8b7cc2d 100644 --- a/tests/integration_tests/modules/test_apt.py +++ b/tests/integration_tests/modules/test_apt.py @@ -269,9 +269,7 @@ def test_security(self, class_client: IntegrationInstance): # 3 lines from main, universe, and multiverse sec_url = "deb http://security.ubuntu.com/ubuntu" if class_client.settings.PLATFORM == "azure": - sec_url = ( - "deb http://azure.archive.ubuntu.com/ubuntu/ jammy-security" - ) + sec_url = "deb http://azure.archive.ubuntu.com/ubuntu/" sec_src_url = sec_url.replace("deb ", "# deb-src ") assert 3 == sources_list.count(sec_url) assert 3 == sources_list.count(sec_src_url) diff --git a/tests/integration_tests/test_shell_script_by_frequency.py b/tests/integration_tests/test_shell_script_by_frequency.py index 25157722881..6df75e2b606 100644 --- a/tests/integration_tests/test_shell_script_by_frequency.py +++ b/tests/integration_tests/test_shell_script_by_frequency.py @@ -22,7 +22,7 @@ (PER_ONCE_FILE, "once.sh", "x-shellscript-per-once"), ] -USER_DATA, errors = create_mime_message(FILES) +USER_DATA = create_mime_message(FILES)[0].as_string() @pytest.mark.ci