1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-30 18:50:58 +00:00

Fix tests after merging.

This commit is contained in:
grossmj 2018-08-29 16:08:08 +07:00
parent 33e8710495
commit 3c332b895d

View File

@ -35,7 +35,7 @@ from ..version import __version__
from .topology import load_topology from .topology import load_topology
from .gns3vm import GNS3VM from .gns3vm import GNS3VM
from ..utils.get_resource import get_resource from ..utils.get_resource import get_resource
from ..utils.asyncio import locked_coroutine from ..utils.asyncio import locking
from .gns3vm.gns3_vm_error import GNS3VMError from .gns3vm.gns3_vm_error import GNS3VMError
import logging import logging
@ -64,7 +64,8 @@ class Controller:
self._config_file = os.path.join(Config.instance().config_dir, "gns3_controller.conf") self._config_file = os.path.join(Config.instance().config_dir, "gns3_controller.conf")
log.info("Load controller configuration file {}".format(self._config_file)) log.info("Load controller configuration file {}".format(self._config_file))
@locked_coroutine @locking
@asyncio.coroutine
def download_appliance_templates(self): def download_appliance_templates(self):
session = aiohttp.ClientSession() session = aiohttp.ClientSession()