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)
|
valid_yaml, indent=4, separators=(',', ': '), sort_keys=True)
|
||||||
|
|
||||||
self.assertThat(pretty_json, testtools.matchers.DocTestMatches(
|
self.assertThat(pretty_json, testtools.matchers.DocTestMatches(
|
||||||
expected_json, doctest.ELLIPSIS | doctest.NORMALIZE_WHITESPACE |
|
expected_json, doctest.ELLIPSIS | doctest.REPORT_NDIFF))
|
||||||
doctest.REPORT_NDIFF))
|
|
||||||
|
@ -6,15 +6,15 @@
|
|||||||
"editable": true,
|
"editable": true,
|
||||||
"height": "250px",
|
"height": "250px",
|
||||||
"panels": [
|
"panels": [
|
||||||
{
|
{
|
||||||
"content": "Some example text is required.",
|
"content": "Some example text is required.",
|
||||||
"editable": true,
|
"editable": true,
|
||||||
"error": false,
|
"error": false,
|
||||||
"mode": "markdown",
|
"mode": "markdown",
|
||||||
"span": 12,
|
"span": 12,
|
||||||
"title": "no title (click here)",
|
"title": "no title (click here)",
|
||||||
"type": "text"
|
"type": "text"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"showTitle": false,
|
"showTitle": false,
|
||||||
"title": "New row"
|
"title": "New row"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user