mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-19 04:35:14 +02:00
Drop Python 3.4 and switch to async / await syntax for asyncio. Fixes #1425
This commit is contained in:
1 parent
8baa480b79
commit
76af98404a
119 files changed
+2432
-3084
No files matched your search
@@ -211,8 +211,7 @@ def test_create_image_missing(node, compute, project, async_run):
|
||||
|
||||
node.__calls = 0
|
||||
|
||||
@asyncio.coroutine
|
||||
def resp(*args, **kwargs):
|
||||
async def resp(*args, **kwargs):
|
||||
node.__calls += 1
|
||||
response = MagicMock()
|
||||
if node.__calls == 1:
|
||||
|
||||
Reference in new issue
Block a user