Different custom params of fitted pipelines after pipeline export and import
Created by: BarabanovaIrina
Problem: After fitted pipeline export the json file has two different fields of custom_params and params (aka full_params, which considers the inner params of models) After importing such a json file custom params become full_params due to this line
This test considers the json files should have equal content and now it (and some others) fails.
Why did it work before? Due to this condition If pipeline already has a template (i.e. if the pipeline was exported at least once) then use this already FILLED template. Such a condition didn't take into account the modifications happened to pipeline after first export.
How was it identified? If you export an unfitted pipeline, then fit it and export again, you will not get the exported fitted operations. (because old pipeline is exported again)