From 577947cd0cabad2884fb621b6775f6a79a6a38e8 Mon Sep 17 00:00:00 2001 From: Peter Ondrejka Date: Tue, 6 Feb 2024 12:53:28 +0100 Subject: [PATCH] cli e2e fix --- tests/foreman/endtoend/test_cli_endtoend.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/tests/foreman/endtoend/test_cli_endtoend.py b/tests/foreman/endtoend/test_cli_endtoend.py index 30de18bd960..7c280b205f9 100644 --- a/tests/foreman/endtoend/test_cli_endtoend.py +++ b/tests/foreman/endtoend/test_cli_endtoend.py @@ -268,14 +268,8 @@ def test_positive_cli_end_to_end(function_entitlement_manifest, target_sat, rhel content_host = target_sat.cli.Host.with_user(user['login'], user['password']).info( {'id': content_host['id']} ) - # check that content view matches what we passed - assert content_host['content-information']['content-view']['name'] == content_view['name'] - # check that lifecycle environment matches - assert ( - content_host['content-information']['lifecycle-environment']['name'] - == lifecycle_environment['name'] - ) + assert content_host['content-information']['name'] == lifecycle_environment['name'] # step 2.14: Create a new libvirt compute resource _create(