mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-06-21 00:22:56 +00: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:
@ -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