From 85b5b0e93a9dce0d078e8b1b6f3cb744e9031efc Mon Sep 17 00:00:00 2001 From: David Moore Date: Wed, 8 Nov 2023 14:22:13 -0500 Subject: [PATCH] Stream fix for e2e http_proxy failure --- tests/foreman/api/test_http_proxy.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/foreman/api/test_http_proxy.py b/tests/foreman/api/test_http_proxy.py index 0b4446069bb..ee6d1ef4758 100644 --- a/tests/foreman/api/test_http_proxy.py +++ b/tests/foreman/api/test_http_proxy.py @@ -99,9 +99,8 @@ def test_positive_end_to_end(setup_http_proxy, module_target_sat, module_manifes assert repo_2.http_proxy_policy == 'global_default_http_proxy' # Update to selected_http_proxy - repo_2.http_proxy_policy = 'none' - repo_2.update(['http_proxy_policy']) - assert repo_2.http_proxy_policy == 'none' + module_target_sat.api.Repository(id=repo_2.id, http_proxy_policy='none').update() + assert repo_2.read().http_proxy_policy == 'none' # test scenario for yum type repo discovery. repo_name = 'fakerepo01'