mirror of
https://github.com/GNS3/gns3-server.git
synced 2024-12-24 06:56:42 +00:00
Haiku theme
This commit is contained in:
parent
77db08c39e
commit
42920e5059
15
docs/api/examples/delete_vpcsvpcsidportsportidnio.txt
Normal file
15
docs/api/examples/delete_vpcsvpcsidportsportidnio.txt
Normal file
@ -0,0 +1,15 @@
|
||||
curl -i -xDELETE 'http://localhost:8000/vpcs/{vpcs_id}/ports/{port_id}/nio'
|
||||
|
||||
DELETE /vpcs/{vpcs_id}/ports/{port_id}/nio HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
CONNECTION: close
|
||||
CONTENT-LENGTH: 2
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.4 aiohttp/0.13.1
|
||||
X-ROUTE: /vpcs/{vpcs_id}/ports/{port_id}/nio
|
||||
|
||||
{}
|
@ -101,7 +101,8 @@ pygments_style = 'sphinx'
|
||||
|
||||
# The theme to use for HTML and HTML Help pages. See the documentation for
|
||||
# a list of builtin themes.
|
||||
html_theme = 'default'
|
||||
#html_theme = 'default'
|
||||
html_theme = 'haiku'
|
||||
|
||||
# Theme options are theme-specific and customize the look and feel of a theme
|
||||
# further. For a list of options available for each theme, see the
|
||||
|
@ -63,7 +63,7 @@ def test_vpcs_delete_nio(server):
|
||||
'rhost': '127.0.0.1'
|
||||
},
|
||||
)
|
||||
response = server.delete('/vpcs/{}/ports/0/nio'.format(vm.json["vpcs_id"]))
|
||||
response = server.delete('/vpcs/{}/ports/0/nio'.format(vm.json["vpcs_id"]), example=True)
|
||||
assert response.status == 200
|
||||
assert response.route == '/vpcs/{vpcs_id}/ports/{port_id}/nio'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user