Skip to content

Commit

Permalink
removing cloned_from_id key from template object (#16813)
Browse files Browse the repository at this point in the history
removing cloned_from_id key from template

(cherry picked from commit de22c82)
  • Loading branch information
amolpati30 authored and web-flow committed Nov 4, 2024
1 parent ea5ec76 commit 2128329
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/foreman/api/test_provisioningtemplate.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 2128329

Please sign in to comment.