diff --git a/docs/api/examples/delete_vpcsvpcsidportsportidnio.txt b/docs/api/examples/delete_vpcsvpcsidportsportidnio.txt new file mode 100644 index 00000000..37bc3fda --- /dev/null +++ b/docs/api/examples/delete_vpcsvpcsidportsportidnio.txt @@ -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 + +{} diff --git a/docs/conf.py b/docs/conf.py index 346e586a..563979c4 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -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 diff --git a/tests/api/test_vpcs.py b/tests/api/test_vpcs.py index d3ea87a1..db56a014 100644 --- a/tests/api/test_vpcs.py +++ b/tests/api/test_vpcs.py @@ -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'