robottelo icon indicating copy to clipboard operation
robottelo copied to clipboard

removing cloned_from_id key from template object

Open amolpati30 opened this issue 3 months ago • 2 comments

Problem Statement

The value of cloned_from_id differs between the two instances, while the rest of the data matches. Since dupe_json is cloned from template, it inherits the id from template, whereas the template object itself was created directly and does not have a clone id . And it causes an assertion error. I remove cloned_from_id to prevent the assertion from failing.

Solution

I remove cloned_from_id key to prevent the assertion from failing and removing cloned_from_id does not impact the test.

amolpati30 avatar Oct 29 '24 13:10 amolpati30