mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-23 06:15:13 +02:00
Fix server close tests
This commit is contained in:
1 parent
5c3969ae79
commit
571044b3e8
3 files changed
+7
-3
No files matched your search
+4
-1
@@ -48,7 +48,10 @@ class _asyncio_patch:
|
||||
|
||||
def _fake_anwser(self):
|
||||
future = asyncio.Future()
|
||||
future.set_result(self.kwargs["return_value"])
|
||||
if "return_value" in self.kwargs:
|
||||
future.set_result(self.kwargs["return_value"])
|
||||
else:
|
||||
future.set_result(True)
|
||||
return future
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user