1
0
mirror of https://github.com/httpie/cli.git synced 2025-12-01 23:03:25 +02:00

Fix XML formatter tests

This commit is contained in:
Mickaël Schoentgen
2021-09-01 10:26:21 +02:00
parent 6c501d23c3
commit fdd486415a
8 changed files with 56 additions and 58 deletions

View File

@@ -379,7 +379,7 @@ class TestFormatOptions:
},
'xml': {
'format': True,
'indent': 4,
'indent': 2,
},
}
),
@@ -398,7 +398,7 @@ class TestFormatOptions:
},
'xml': {
'format': True,
'indent': 4,
'indent': 2,
},
}
),
@@ -419,7 +419,7 @@ class TestFormatOptions:
},
'xml': {
'format': True,
'indent': 4,
'indent': 2,
},
}
),
@@ -436,7 +436,7 @@ class TestFormatOptions:
[
'--format-options=json.indent:2',
'--format-options=xml.format:false',
'--format-options=xml.indent:2',
'--format-options=xml.indent:4',
'--unsorted',
'--no-unsorted',
],
@@ -451,7 +451,7 @@ class TestFormatOptions:
},
'xml': {
'format': False,
'indent': 2,
'indent': 4,
},
}
),
@@ -472,7 +472,7 @@ class TestFormatOptions:
},
'xml': {
'format': True,
'indent': 4,
'indent': 2,
},
}
),
@@ -494,7 +494,7 @@ class TestFormatOptions:
},
'xml': {
'format': True,
'indent': 4,
'indent': 2,
},
}
),