Enforce properly indentation for json fixtures
Change-Id: I21415f27332decea555c3534a96e02ba1ea0c591 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
2634277625
commit
27917e59e0
@ -77,5 +77,4 @@ class TestCase(object):
|
||||
valid_yaml, indent=4, separators=(',', ': '), sort_keys=True)
|
||||
|
||||
self.assertThat(pretty_json, testtools.matchers.DocTestMatches(
|
||||
expected_json, doctest.ELLIPSIS | doctest.NORMALIZE_WHITESPACE |
|
||||
doctest.REPORT_NDIFF))
|
||||
expected_json, doctest.ELLIPSIS | doctest.REPORT_NDIFF))
|
||||
|
@ -6,15 +6,15 @@
|
||||
"editable": true,
|
||||
"height": "250px",
|
||||
"panels": [
|
||||
{
|
||||
"content": "Some example text is required.",
|
||||
"editable": true,
|
||||
"error": false,
|
||||
"mode": "markdown",
|
||||
"span": 12,
|
||||
"title": "no title (click here)",
|
||||
"type": "text"
|
||||
}
|
||||
{
|
||||
"content": "Some example text is required.",
|
||||
"editable": true,
|
||||
"error": false,
|
||||
"mode": "markdown",
|
||||
"span": 12,
|
||||
"title": "no title (click here)",
|
||||
"type": "text"
|
||||
}
|
||||
],
|
||||
"showTitle": false,
|
||||
"title": "New row"
|
||||
|
Loading…
x
Reference in New Issue
Block a user