Upgrade dev dependencies and fix issues after upgrading to pytest-aiohttp v1.0.4

This commit is contained in:
grossmj
2022-08-27 19:16:02 +02:00
parent 9e5ca50302
commit d1c8f33fc5
40 changed files with 108 additions and 89 deletions

View File

@ -18,7 +18,7 @@
from collections import OrderedDict
import pytest
import asyncio
import pytest_asyncio
from tests.utils import asyncio_patch, AsyncioMagicMock
@ -29,8 +29,8 @@ from gns3server.compute.vpcs import VPCS
from gns3server.compute.nios.nio_udp import NIOUDP
@pytest.fixture(scope="function")
async def manager(loop, port_manager):
@pytest_asyncio.fixture(scope="function")
async def manager(port_manager):
m = VPCS.instance()
m.port_manager = port_manager