Skip to content

Commit

Permalink
#493 update tests according to new default property_indent
Browse files Browse the repository at this point in the history
  • Loading branch information
MRVermeulenDeltares committed Apr 5, 2023
1 parent fec9e19 commit dc5a28b
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions tests/dflowfm/ini/test_ini.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 == "#"
Expand All @@ -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 == "#"
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit dc5a28b

Please sign in to comment.