Enforce properly indentation for json fixtures

Change-Id: I21415f27332decea555c3534a96e02ba1ea0c591
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2015-09-18 16:06:20 -04:00
parent 2634277625
commit 27917e59e0
2 changed files with 10 additions and 11 deletions

View File

@ -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))

View File

@ -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"