openstack-doc-tool's jsoncheck and doctest are inconsistent
Bug #1403159 reported by
Adam Gandelman
This bug affects 1 person
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| openstack-manuals |
Fix Released
|
Critical
|
Roger Luethi | ||
Bug Description
In a bit of a wedge attempting to update trove's api docs to pass its check-niceness test.
The openstack-
Given the following json blob:
TEST_JSON = """
{
"test": {
"foo": "bar"
}
}
"""
openstack-jsoncheck fails, claiming reformatting is required. Doing so using 'openstack-
TEST_JSON = """
{
"test": {
"foo": "bar"
}
}"""
Running this fixed file through openstack-doctest's niceness check results in failure: last line of a file must end with a \n
| Changed in openstack-manuals: | |
| importance: | Undecided → Critical |
To post a comment you must log in.

It is a bug in jsoncheck.py.