From dc5a28be0d9b432458b17a8ccf9df92f6de8f2a3 Mon Sep 17 00:00:00 2001 From: Marlon Vermeulen Date: Wed, 5 Apr 2023 16:41:47 +0200 Subject: [PATCH] #493 update tests according to new default property_indent --- tests/dflowfm/ini/test_ini.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/tests/dflowfm/ini/test_ini.py b/tests/dflowfm/ini/test_ini.py index dabc43716..61090fc8f 100644 --- a/tests/dflowfm/ini/test_ini.py +++ b/tests/dflowfm/ini/test_ini.py @@ -807,7 +807,7 @@ def test_total_datablock_indent_expected_result(self): def test_default_serializer_config(self): config = INISerializerConfig() assert config.section_indent == 0 - assert config.property_indent == 4 + assert config.property_indent == 0 assert config.datablock_indent == 8 assert config.datablock_spacing == 2 assert config.comment_delimiter == "#" @@ -819,7 +819,7 @@ class TestDataBlockINIBasedSerializerConfig: def test_default_serializer_config(self): config = DataBlockINIBasedSerializerConfig() assert config.section_indent == 0 - assert config.property_indent == 4 + assert config.property_indent == 0 assert config.datablock_indent == 8 assert config.datablock_spacing == 2 assert config.comment_delimiter == "#" @@ -1676,16 +1676,16 @@ def test_deserialize_serialize_should_give_the_same_result(self): # with two lines [header1] - key1 = value1 # some comment - longer_key = longer_value # longer comment - k = # c - key2 = value2 # some comment + key1 = value1 # some comment + longer_key = longer_value # longer comment + k = # c + key2 = value2 # some comment [header2] - key3 = value3 # some comment - very_long_key = very_long_value # longer comment - k = # c - key4 = value4 # some comment + key3 = value3 # some comment + very_long_key = very_long_value # longer comment + k = # c + key4 = value4 # some comment """ ) + "\n"