mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-24 06:44:34 +02:00
Auto upload missing images
This commit is contained in:
15 files changed
+194
-65
No files matched your search
+4
-1
@@ -70,7 +70,10 @@ class AsyncioMagicMock(unittest.mock.MagicMock):
|
||||
Magic mock returning coroutine
|
||||
"""
|
||||
|
||||
def __init__(self, return_value=None, **kwargs):
|
||||
def __init__(self, return_value=None, return_values=None, **kwargs):
|
||||
"""
|
||||
:return_values: Array of return value at each call will return the next
|
||||
"""
|
||||
if return_value:
|
||||
future = asyncio.Future()
|
||||
future.set_result(return_value)
|
||||
|
||||
Reference in new issue
Block a user