mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
Secure controller to compute communication using HTTP basic authentication
This commit is contained in:
1 parent
55e50dae4b
commit
38388f7ae5
24 files changed
+483
-416
No files matched your search
@@ -190,24 +190,3 @@ class TestComputeFeatures:
|
||||
# response = await client.post(app.url_path_for("autoidlepc", compute_id=compute_id) + "/auto_idlepc", json=params)
|
||||
# assert mock.called
|
||||
# assert response.status_code == status.HTTP_200_OK
|
||||
|
||||
|
||||
# FIXME
|
||||
# @pytest.mark.asyncio
|
||||
# async def test_compute_endpoint(controller_api):
|
||||
#
|
||||
# params = {
|
||||
# "compute_id": "my_compute",
|
||||
# "protocol": "http",
|
||||
# "host": "localhost",
|
||||
# "port": 84,
|
||||
# "user": "julien",
|
||||
# "password": "secure"
|
||||
# }
|
||||
#
|
||||
# response = await controller_api.post("/computes", params)
|
||||
# assert response.status_code == 201
|
||||
#
|
||||
# response = await controller_api.get("/computes/endpoint/my_compute/qemu/images")
|
||||
# assert response.status_code == 200
|
||||
# assert response.json['endpoint'] == 'http://localhost:84/v2/compute/qemu/images'
|
||||
Reference in new issue
Block a user