mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
Do not wait auto start to finish in order to complete project opening
Fix https://github.com/GNS3/gns3-gui/issues/2074
This commit is contained in:
2 files changed
+6
-1
No files matched your search
@@ -18,6 +18,7 @@
|
||||
import io
|
||||
import asyncio
|
||||
import unittest.mock
|
||||
import collections.abc
|
||||
|
||||
|
||||
class _asyncio_patch:
|
||||
@@ -69,6 +70,7 @@ class AsyncioMagicMock(unittest.mock.MagicMock):
|
||||
"""
|
||||
Magic mock returning coroutine
|
||||
"""
|
||||
__class__ = collections.abc.Awaitable
|
||||
|
||||
def __init__(self, return_value=None, return_values=None, **kwargs):
|
||||
"""
|
||||
|
||||
Reference in new issue
Block a user