Merge "Enforce properly indentation for json fixtures"
This commit is contained in:
commit
f7b74e0ada
@ -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))
|
|
||||||
|
@ -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