From 212832931b043ba6cfb68556ef59d18020d37321 Mon Sep 17 00:00:00 2001 From: amolpati30 <151733635+amolpati30@users.noreply.github.com> Date: Mon, 4 Nov 2024 16:30:53 +0530 Subject: [PATCH] removing cloned_from_id key from template object (#16813) removing cloned_from_id key from template (cherry picked from commit de22c8218887e297553d6df5a4c10b9302ab7328) --- tests/foreman/api/test_provisioningtemplate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/foreman/api/test_provisioningtemplate.py b/tests/foreman/api/test_provisioningtemplate.py index 9ebbd11443c..efe4e47cf24 100644 --- a/tests/foreman/api/test_provisioningtemplate.py +++ b/tests/foreman/api/test_provisioningtemplate.py @@ -187,7 +187,7 @@ def test_positive_end_to_end_crud( # clone template_origin = template.read_json() # remove unique keys - unique_keys = ('updated_at', 'created_at', 'id', 'name') + unique_keys = ('updated_at', 'created_at', 'id', 'name', 'cloned_from_id') template_origin = { key: value for key, value in template_origin.items() if key not in unique_keys }