Merge "Enforce properly indentation for json fixtures"

This commit is contained in:
Jenkins 2015-09-21 13:49:41 +00:00 committed by Gerrit Code Review
commit f7b74e0ada
2 changed files with 10 additions and 11 deletions

View File

@ -71,5 +71,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))

View File

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