Fix warnings in tests

This commit is contained in:
grossmj committed 2024-05-09 17:11:12 +07:00
1 parent 3fd44f5260
commit 33499be425
31 files changed
+51 -52

No files matched your search

+2 -2
View File
@@ -29,7 +29,7 @@ from gns3server.utils import force_unix_path
@pytest.fixture(scope="function")
async def vpcs(loop, port_manager):
async def vpcs(event_loop, port_manager):
VPCS._instance = None
vpcs = VPCS.instance()
@@ -38,7 +38,7 @@ async def vpcs(loop, port_manager):
@pytest.fixture(scope="function")
async def qemu(loop, port_manager):
async def qemu(event_loop, port_manager):
Qemu._instance = None
Qemu._init_config_disk = MagicMock() # do not create the config.img image