File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
unit_tests/sources/declarative/spec Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -265,6 +265,10 @@ def test_given_already_migrated_config_no_control_message_is_emitted(migration_m
265265
266266def test_given_list_of_transformations_when_transform_config_then_config_is_transformed () -> None :
267267 input_config = {"planet_code" : "CRSC" }
268+ expected_config = {
269+ "planet_name" : "Coruscant" ,
270+ "planet_population" : 3_000_000_000_000 ,
271+ }
268272 spec = component_spec (
269273 connection_specification = {},
270274 parameters = {},
@@ -304,10 +308,9 @@ def test_given_list_of_transformations_when_transform_config_then_config_is_tran
304308 ),
305309 ],
306310 )
307- assert spec .transform_config (input_config ) == {
308- "planet_name" : "Coruscant" ,
309- "planet_population" : 3_000_000_000_000 ,
310- }
311+ spec .transform_config (input_config )
312+
313+ assert input_config == expected_config
311314
312315
313316def test_given_valid_config_value_when_validating_then_no_exception_is_raised () -> None :
You can’t perform that action at this time.
0 commit comments