Use JSON format instead of json format
The format could be JSON format or XML format, should not be json format. Change-Id: Iba340f3b29545bacd1e51333ef9c491dc1267392
This commit is contained in:
parent
c52f18bcf1
commit
e132d38383
@ -960,7 +960,7 @@ class VerifyChecksumTestCase(test.NoDBTestCase):
|
||||
log = stream.getvalue()
|
||||
|
||||
# NOTE(mikal): this is a skip not a fail because the file is
|
||||
# present, but is not in valid json format and therefore is
|
||||
# present, but is not in valid JSON format and therefore is
|
||||
# skipped.
|
||||
self.assertNotEqual(log.find('image verification skipped'), -1)
|
||||
|
||||
|
@ -1242,7 +1242,7 @@ def host_topology_and_format_from_host(host):
|
||||
get beck either None, or an instance of objects.NUMATopology class.
|
||||
|
||||
:returns: A two-tuple, first element is the topology itself or None, second
|
||||
is a boolean set to True if topology was in json format.
|
||||
is a boolean set to True if topology was in JSON format.
|
||||
"""
|
||||
was_json = False
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user