From c02a28ed70c7cd92b7ef56a51393787d897dd30e Mon Sep 17 00:00:00 2001 From: Peter Ondrejka Date: Thu, 24 Aug 2023 17:21:57 +0200 Subject: [PATCH] e2e cli minor fix --- tests/foreman/endtoend/test_cli_endtoend.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/foreman/endtoend/test_cli_endtoend.py b/tests/foreman/endtoend/test_cli_endtoend.py index 0fb77f62b26..5ea3053c7e8 100644 --- a/tests/foreman/endtoend/test_cli_endtoend.py +++ b/tests/foreman/endtoend/test_cli_endtoend.py @@ -280,11 +280,11 @@ def test_positive_cli_end_to_end(function_entitlement_manifest, target_sat, rhel content_host = 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'] + assert content_host['content-information'][0]['content-view'] == content_view['name'] # check that lifecycle environment matches assert ( - content_host['content-information']['lifecycle-environment']['name'] + content_host['content-information'][0]['lifecycle-environment'] == lifecycle_environment['name'] )