mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 14:01:15 +02:00
Do not automatically connect to local compute.
This commit is contained in:
1 parent
a92c47b310
commit
13da8aa8f5
3 files changed
+7
-6
No files matched your search
@@ -295,9 +295,9 @@ async def test_start(controller):
|
||||
"vmname": "GNS3 VM"
|
||||
}
|
||||
|
||||
with asyncio_patch("gns3server.controller.compute.Compute.connect") as mock:
|
||||
await controller.start()
|
||||
assert mock.called
|
||||
#with asyncio_patch("gns3server.controller.compute.Compute.connect") as mock:
|
||||
await controller.start()
|
||||
#assert mock.called
|
||||
assert len(controller.computes) == 1 # Local compute is created
|
||||
assert controller.computes["local"].name == socket.gethostname()
|
||||
|
||||
|
||||
Reference in new issue
Block a user