robottelo
robottelo copied to clipboard
removing cloned_from_id key from template object
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.