Merge "Cleanup bad JSON files"
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
{
|
||||
'dns_entry' :
|
||||
{
|
||||
'ip': '192.168.53.11',
|
||||
'dns_type': 'A'
|
||||
}
|
||||
"dns_entry": {
|
||||
"ip": "192.168.53.11",
|
||||
"dns_type": "A"
|
||||
}
|
||||
}
|
@@ -1,8 +1,7 @@
|
||||
{
|
||||
'domain_entry' :
|
||||
{
|
||||
'domain': 'domain1.example.org',
|
||||
'scope': 'public',
|
||||
'project': 'project1'
|
||||
}
|
||||
"domain_entry": {
|
||||
"domain": "domain1.example.org",
|
||||
"scope": "public",
|
||||
"project": "project1"
|
||||
}
|
||||
}
|
@@ -3,7 +3,7 @@
|
||||
"name" : "new-server-test",
|
||||
"imageRef" : "http://openstack.example.com/openstack/images/70a599e0-31e7-49b7-b260-868f441e862b",
|
||||
"flavorRef" : "http://openstack.example.com/openstack/flavors/1",
|
||||
"availability_zone" : "test"
|
||||
"availability_zone" : "test",
|
||||
"metadata" : {
|
||||
"My Server Name" : "Apache1"
|
||||
}
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"floating_ips_bulk_create": {
|
||||
"ip_range": "192.168.1.0/24"
|
||||
"ip_range": "192.168.1.0/24",
|
||||
"pool": "nova",
|
||||
"interface": "eth0"
|
||||
}
|
||||
|
@@ -1,9 +1,10 @@
|
||||
{
|
||||
"events": {[
|
||||
{
|
||||
"name": "test-event",
|
||||
"tag": "foo",
|
||||
"status": "completed",
|
||||
"server_uuid": "3df201cf-2451-44f2-8d25-a4ca826fc1f3"
|
||||
}]}
|
||||
}
|
||||
"events": [
|
||||
{
|
||||
"name": "test-event",
|
||||
"tag": "foo",
|
||||
"status": "completed",
|
||||
"server_uuid": "3df201cf-2451-44f2-8d25-a4ca826fc1f3"
|
||||
}
|
||||
]
|
||||
}
|
4
tox.ini
4
tox.ini
@@ -59,7 +59,9 @@ commands =
|
||||
commands = {posargs}
|
||||
|
||||
[testenv:docs]
|
||||
commands = python setup.py build_sphinx
|
||||
commands =
|
||||
python setup.py build_sphinx
|
||||
bash -c '! find doc/ -type f -name *.json | xargs -t -n1 python -m json.tool 2>&1 > /dev/null | grep -B1 -v ^python'
|
||||
|
||||
[flake8]
|
||||
# E125 is deliberately excluded. See https://github.com/jcrocholl/pep8/issues/126
|
||||
|
Reference in New Issue
Block a user